From 8ff54cbe8cfe37744f773a6096e6f7413419bb6d Mon Sep 17 00:00:00 2001 From: Sam Morris Date: Fri, 23 Sep 2022 09:57:20 +0100 Subject: [PATCH] Fix libsubid detection Library arguments must be positioned after sources when invoking GCC. Signed-off-by: Sam Morris --- hack/libsubid_tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/libsubid_tag.sh b/hack/libsubid_tag.sh index 31412b3e64..137826484f 100755 --- a/hack/libsubid_tag.sh +++ b/hack/libsubid_tag.sh @@ -5,7 +5,7 @@ fi tmpdir="$PWD/tmp.$RANDOM" mkdir -p "$tmpdir" trap 'rm -fr "$tmpdir"' EXIT -cc -o "$tmpdir"/libsubid_tag -l subid -x c - > /dev/null 2> /dev/null << EOF +cc -o "$tmpdir"/libsubid_tag -x c - -l subid > /dev/null 2> /dev/null << EOF #include #include #include