diff options
author | Sam Morris <sam@robots.org.uk> | 2022-09-23 09:57:20 +0100 |
---|---|---|
committer | Sam Morris <sam@robots.org.uk> | 2022-09-23 09:58:39 +0100 |
commit | 8ff54cbe8cfe37744f773a6096e6f7413419bb6d (patch) | |
tree | 9a24af6e13606a4ba83b49684d1a0765b76509c3 /hack | |
parent | 0d65c2481973a956bb90e393814a18ceb6389450 (diff) | |
download | podman-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-x | hack/libsubid_tag.sh | 2 |
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> |