fix libsubid detection script
The library argument must be after the sources. Not sure why this works
on fedora. Taken from a the podman fix[1].
[1] 8ff54cbe8c
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
3ebaf48bd8
commit
0668a1040e
|
|
@ -5,7 +5,7 @@ fi
|
||||||
tmpdir="$PWD/tmp.$RANDOM"
|
tmpdir="$PWD/tmp.$RANDOM"
|
||||||
mkdir -p "$tmpdir"
|
mkdir -p "$tmpdir"
|
||||||
trap 'rm -fr "$tmpdir"' EXIT
|
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 <shadow/subid.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue