summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
-rw-r--r--flowtop/Makefile3
2 files changed, 3 insertions, 2 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
diff --git a/flowtop/Makefile b/flowtop/Makefile
index cb57cb3..bc7afb5 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -30,7 +30,8 @@ flowtop-objs += geoip.o \
ioops.o
endif
-flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses)
+flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses) \
+ $(shell $(PKG_CONFIG) --cflags libnetfilter_conntrack)
flowtop-confs = tcp.conf \
udp.conf \