diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | flowtop/Makefile | 2 | ||||
-rw-r--r-- | ifpps/Makefile | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -217,6 +217,8 @@ $(foreach tool,$(TOOLS),$(eval $(call TOOL_templ,$(tool)))) netsniff-ng: ALL_CFLAGS += $(shell pkg-config --cflags libnl-3.0) $(shell pkg-config --cflags libnl-genl-3.0) -D__WITH_PROTOS -D__WITH_TCPDUMP_LIKE_FILTER trafgen: ALL_CFLAGS += -I.. $(shell pkg-config --cflags libnl-3.0) $(shell pkg-config --cflags libnl-genl-3.0) -D__WITH_PROTOS +ifpps: ALL_CFLAGS += $(shell pkg-config --cflags ncurses) +flowtop: ALL_CFLAGS += $(shell pkg-config --cflags ncurses) bpfc: ALL_CFLAGS += -I.. curvetun: ALL_CFLAGS += -I ${NACL_INC_DIR} curvetun: ALL_LDFLAGS += -L ${NACL_LIB_DIR} 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 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 \ |