From 93f9916c229e9dd6eedd89a13e7c3be188121296 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 23 Jul 2014 16:11:15 +0200 Subject: 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 --- flowtop/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'flowtop/Makefile') 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) -- cgit v1.2.3-54-g00ecf