summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2015-11-05 12:54:09 +0100
committerTobias Klauser <tklauser@distanz.ch>2015-11-05 13:25:29 +0100
commit19991f90d8398a944721b684b1584c1e339c6fec (patch)
tree1a19946b0c447eab58227bc9dec1a1e4ff587849 /configure
parentced058002d01024a18e9d9e2dda2a9af5854e232 (diff)
build: Handle libnetfilter-conntrack with pkg-config
Needed for openSUSE since they have versioned libnetfilter-header files. Signed-off-by: Martin Hauke <mardnh@gmx.de> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 8956f0f..5bf898a 100755
--- a/configure
+++ b/configure
@@ -343,7 +343,7 @@ int main(void)
}
EOF
- $CC -o $TMPDIR/nfcttest $TMPDIR/nfcttest.c -lnetfilter_conntrack >> config.log 2>&1
+ $CC -o $TMPDIR/nfcttest $TMPDIR/nfcttest.c $(pkg-config libnetfilter_conntrack --cflags) -lnetfilter_conntrack >> config.log 2>&1
if [ ! -x $TMPDIR/nfcttest ] ; then
echo "[NO]"
MISSING_DEFS=1