summaryrefslogtreecommitdiff
path: root/flowtop
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop')
-rw-r--r--flowtop/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/flowtop/Makefile b/flowtop/Makefile
index b668726..12f8d61 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -1,8 +1,9 @@
flowtop-libs = -lGeoIP \
-lurcu \
-lnetfilter_conntrack \
- $(shell pkg-config --libs ncurses) \
- $(shell pkg-config --libs tinfo) \
+ $(shell pkg-config --libs ncurses 2> /dev/null \
+ || echo '-lncurses') \
+ $(shell pkg-config --libs tinfo 2> /dev/null ) \
-lpthread \
-lz