From 2c93b5ae28969362446e94dabe69ef518c171841 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Fri, 15 Mar 2013 12:10:28 +0100 Subject: 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 --- flowtop/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flowtop') 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 -- cgit v1.2.3-54-g00ecf