summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2003-03-05 11:39:31 +0000
committerHarald Welte <laforge@gnumonks.org>2003-03-05 11:39:31 +0000
commit9c8cdd4a2dc25f5e2f6836f7acc7800fd04b6f68 (patch)
treef92af9bf9e1856fdeae129bc7c78e573d888c2cf /extensions
parenta8658ca43fba82f7761f774f4daeb29b3e335053 (diff)
dont build ipv6 when DO_IPV6=0
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 44783cff..d1d60b5b 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -30,10 +30,12 @@ else # NO_SHARED_LIBS
EXT_OBJS+=$(foreach T,$(PF_EXT_SLIB),extensions/libipt_$(T).o)
EXT_FUNC+=$(foreach T,$(PF_EXT_SLIB),ipt_$(T))
EXT_OBJS+= extensions/initext.o
+ifeq ($(DO_IPV6), 1)
EXT6_OBJS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).o)
EXT6_FUNC+=$(foreach T,$(PF6_EXT_SLIB),ip6t_$(T))
EXT6_OBJS+= extensions/initext6.o
-endif
+endif # DO_IPV6
+endif # NO_SHARED_LIBS
ifndef TOPLEVEL_INCLUDED
local: