summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extensions/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 44783cf..d1d60b5 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: