summaryrefslogtreecommitdiff
path: root/flowtop/Makefile
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-23 16:11:15 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-07-23 16:11:15 +0200
commit93f9916c229e9dd6eedd89a13e7c3be188121296 (patch)
tree72fb115ffbee27aee0c78d34e9f96d5691cee42b /flowtop/Makefile
parent9ad7f888209707b491f6ce6226bfca71675a27c6 (diff)
build: flowtop: Only build ioops with GeoIP support enabled
Follow commit 9ad7f8882097 ("build: astraceroute: Only build ioops with GeoIP support enabled"). The ioops module is only needed in geoip.o, thus make it dependent on CONFIG_GEOIP. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'flowtop/Makefile')
-rw-r--r--flowtop/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/flowtop/Makefile b/flowtop/Makefile
index 4f9eef3..85acb43 100644
--- a/flowtop/Makefile
+++ b/flowtop/Makefile
@@ -11,7 +11,6 @@ flowtop-libs += -lGeoIP \
endif
flowtop-objs = xmalloc.o \
- ioops.o \
oui.o \
str.o \
sig.o \
@@ -25,7 +24,8 @@ flowtop-objs = xmalloc.o \
flowtop.o
ifeq ($(CONFIG_GEOIP), 1)
-flowtop-objs += geoip.o
+flowtop-objs += geoip.o \
+ ioops.o
endif
flowtop-eflags = $(shell pkg-config --cflags ncurses)