summaryrefslogtreecommitdiffstats
path: root/extensions/Makefile
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2001-06-05 11:56:17 +0000
committerRusty Russell <rusty@rustcorp.com.au>2001-06-05 11:56:17 +0000
commita138ba42689e5581e40d89fbd1f5e0a6eb6ba0d7 (patch)
tree1af9b4de0bf2f2271090f8e6b1fc6da88c325065 /extensions/Makefile
parentef798b9b7e005209deb457d1ffccab3d2bcdba96 (diff)
DO_IPV6 fix.
Diffstat (limited to 'extensions/Makefile')
-rw-r--r--extensions/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/extensions/Makefile b/extensions/Makefile
index 481e5fc1..1ffba2a8 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -17,9 +17,12 @@ OPTIONALS+=$(patsubst %,IPv4:%,$(PF_EXT_SLIB_OPTS))
OPTIONALS+=$(patsubst %,IPv6:%,$(PF6_EXT_SLIB_OPTS))
SHARED_LIBS+=$(foreach T,$(PF_EXT_SLIB),extensions/libipt_$(T).so)
-SHARED_LIBS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).so)
EXTRA_INSTALLS+=$(foreach T, $(PF_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libipt_$(T).so)
+
+ifdef DO_IPV6
+SHARED_LIBS+=$(foreach T,$(PF6_EXT_SLIB),extensions/libip6t_$(T).so)
EXTRA_INSTALLS+=$(foreach T, $(PF6_EXT_SLIB), $(DESTDIR)$(LIBDIR)/iptables/libip6t_$(T).so)
+endif
ifndef TOPLEVEL_INCLUDED
local: