diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2014-07-23 16:11:15 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-07-23 16:11:15 +0200 |
commit | 93f9916c229e9dd6eedd89a13e7c3be188121296 (patch) | |
tree | 72fb115ffbee27aee0c78d34e9f96d5691cee42b /flowtop | |
parent | 9ad7f888209707b491f6ce6226bfca71675a27c6 (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')
-rw-r--r-- | flowtop/Makefile | 4 |
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) |