summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index edb10fd..5055654 100755
--- a/configure
+++ b/configure
@@ -378,7 +378,12 @@ int main(void)
}
EOF
- $CC -o $TMPDIR/nfcttest $TMPDIR/nfcttest.c $(pkg-config libnetfilter_conntrack --cflags) -lnetfilter_conntrack >> config.log 2>&1
+ $CC \
+ $($PKG_CONFIG --cflags libnetfilter_conntrack 2>> config.log) \
+ -o $TMPDIR/nfcttest \
+ $TMPDIR/nfcttest.c \
+ $($PKG_CONFIG --libs libnetfilter_conntrack 2>> config.log) \
+ >> config.log 2>&1
if [ ! -x $TMPDIR/nfcttest ] ; then
echo "[NO]"
MISSING_DEFS=1