summaryrefslogtreecommitdiff
path: root/astraceroute
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-07-23 15:53:41 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-07-23 15:53:41 +0200
commit9ad7f888209707b491f6ce6226bfca71675a27c6 (patch)
tree4cdbc0dd37afa4976e8c8b46174bf73f3801b252 /astraceroute
parent134a7beb7abb77cd3e63a59591f54ea2ddde8890 (diff)
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 'astraceroute')
-rw-r--r--astraceroute/Makefile4
1 files changed, 2 insertions, 2 deletions
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 =