From 9ad7f888209707b491f6ce6226bfca71675a27c6 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 23 Jul 2014 15:53:41 +0200 Subject: 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 --- astraceroute/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'astraceroute') diff --git a/astraceroute/Makefile b/astraceroute/Makefile index 1972a12..6fd0b17 100644 --- a/astraceroute/Makefile +++ b/astraceroute/Makefile @@ -7,7 +7,6 @@ endif astraceroute-objs = xmalloc.o \ - ioops.o \ proto_none.o \ tprintf.o \ bpf.o \ @@ -20,7 +19,8 @@ astraceroute-objs = xmalloc.o \ astraceroute.o ifeq ($(CONFIG_GEOIP), 1) -astraceroute-objs += geoip.o +astraceroute-objs += geoip.o \ + ioops.o endif astraceroute-eflags = -- cgit v1.2.3-54-g00ecf