From b208a19331ee52445b48f0e3418437832dadd843 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Wed, 26 Feb 2025 16:13:02 -0700 Subject: I guess CMake uses .o now instead of .obj? --- build-aux/lint-bin | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'build-aux/lint-bin') diff --git a/build-aux/lint-bin b/build-aux/lint-bin index 2fe8e4b..85f9015 100755 --- a/build-aux/lint-bin +++ b/build-aux/lint-bin @@ -5,6 +5,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later set -euE -o pipefail +shopt -s extglob # Output is a series of lines in the format "symbol location size # source". Whitespace may seem silly. @@ -38,10 +39,10 @@ lint_globals() { # resolve `..` components source="$(realpath --canonicalize-missing --no-symlinks -- "$source")" ;; - CMakeFiles/*.dir/*.obj) + CMakeFiles/*.dir/*.@(obj|o)) # CMakeFiles/sbc_harnes_objs.dir/... source="${source#CMakeFiles/*.dir/}" - source="${source%.obj}" + source="${source%.@(obj|o)}" source="${source//__/..}" source="$(realpath --canonicalize-missing --no-symlinks --relative-to="$topdir" -- "$source")" ;; -- cgit v1.2.3-2-g168b