summaryrefslogtreecommitdiff
path: root/flowtop/Makefile
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-03-15 12:10:28 +0100
committerDaniel Borkmann <dborkman@redhat.com>2013-03-15 12:10:28 +0100
commit2c93b5ae28969362446e94dabe69ef518c171841 (patch)
tree0cac20e934a7730aca6a7f4e76a0683930f0c0a2 /flowtop/Makefile
parent41c5d99d584f8bffa77b94dcfcc0fa3c4c406e81 (diff)
build: Find libncurses by using pkg-config
Call pkg-config --cflags and pkg-config --libs to find correct CFLAGS and LDFLAGS respectively. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'flowtop/Makefile')
-rw-r--r--flowtop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/flowtop/Makefile b/flowtop/Makefile
index f518f07..29a58ce 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -1,7 +1,7 @@
flowtop-libs = -lGeoIP \
-lurcu \
-lnetfilter_conntrack \
- -lncurses \
+ $(shell pkg-config --libs ncurses) \
-lpthread \
-lz