summaryrefslogtreecommitdiff
path: root/flowtop
diff options
context:
space:
mode:
Diffstat (limited to 'flowtop')
-rw-r--r--flowtop/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/flowtop/Makefile b/flowtop/Makefile
index 41865c7..1bd5a0f 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -1,8 +1,8 @@
flowtop-libs = -lurcu \
-lnetfilter_conntrack \
- $(shell pkg-config --libs ncurses 2> /dev/null \
+ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs ncurses 2> /dev/null \
|| echo '-lncurses') \
- $(shell pkg-config --libs tinfo 2> /dev/null ) \
+ $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs tinfo 2> /dev/null ) \
-lpthread
ifeq ($(CONFIG_GEOIP), 1)
@@ -29,7 +29,7 @@ flowtop-objs += geoip.o \
ioops.o
endif
-flowtop-eflags = $(shell pkg-config --cflags ncurses)
+flowtop-eflags = $(shell $(PKG_CONFIG) --cflags ncurses)
flowtop-confs = tcp.conf \
udp.conf \