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 --- ifpps/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ifpps/Makefile') diff --git a/ifpps/Makefile b/ifpps/Makefile index 28c3544..a86e88c 100644 --- a/ifpps/Makefile +++ b/ifpps/Makefile @@ -1,4 +1,4 @@ -ifpps-libs = -lncurses +ifpps-libs = $(shell pkg-config --libs ncurses) ifpps-objs = xmalloc.o \ xio.o \ -- cgit v1.2.3-54-g00ecf