aboutsummaryrefslogtreecommitdiff
path: root/hack
diff options
context:
space:
mode:
authorSam Morris <sam@robots.org.uk>2022-09-23 09:57:20 +0100
committerSam Morris <sam@robots.org.uk>2022-09-23 09:58:39 +0100
commit8ff54cbe8cfe37744f773a6096e6f7413419bb6d (patch)
tree9a24af6e13606a4ba83b49684d1a0765b76509c3 /hack
parent0d65c2481973a956bb90e393814a18ceb6389450 (diff)
downloadpodman-8ff54cbe8cfe37744f773a6096e6f7413419bb6d.tar.gz
podman-8ff54cbe8cfe37744f773a6096e6f7413419bb6d.tar.bz2
podman-8ff54cbe8cfe37744f773a6096e6f7413419bb6d.zip
Fix libsubid detection
Library arguments must be positioned after sources when invoking GCC. Signed-off-by: Sam Morris <sam@robots.org.uk>
Diffstat (limited to 'hack')
-rwxr-xr-xhack/libsubid_tag.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/hack/libsubid_tag.sh b/hack/libsubid_tag.sh
index 31412b3e6..137826484 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 <shadow/subid.h>
#include <stdio.h>
#include <stdlib.h>