diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-03-15 12:10:28 +0100 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-03-15 12:10:28 +0100 |
commit | 2c93b5ae28969362446e94dabe69ef518c171841 (patch) | |
tree | 0cac20e934a7730aca6a7f4e76a0683930f0c0a2 /ifpps | |
parent | 41c5d99d584f8bffa77b94dcfcc0fa3c4c406e81 (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 'ifpps')
-rw-r--r-- | ifpps/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |