From: Harald Welte Date: Wed, 5 Mar 2003 11:39:31 +0000 (+0000) Subject: dont build ipv6 when DO_IPV6=0 X-Git-Tag: v1.2.8-freeze~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9c8cdd4a2dc25f5e2f6836f7acc7800fd04b6f68;p=thirdparty%2Fiptables.git dont build ipv6 when DO_IPV6=0 --- 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: