summaryrefslogtreecommitdiff
path: root/package/iptables/iptables.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-30 18:41:53 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-30 18:41:53 +0000
commit4e5ecadd2210511c335fc0a222c72d49ade3771e (patch)
tree3b95a83ca24a2ca120fa4622dd11d14f93ed8450 /package/iptables/iptables.mk
parenteee376bc8e2207c322a41c9d9dc602c3a6adb135 (diff)
iptables: fix build without ipv6 support in toolchain
Patch by Steffen Schulz <sf@cbg.dyndns.org>, closes #233.
Diffstat (limited to 'package/iptables/iptables.mk')
-rw-r--r--package/iptables/iptables.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk
index f0aff6f83..21ea5be13 100644
--- a/package/iptables/iptables.mk
+++ b/package/iptables/iptables.mk
@@ -8,6 +8,10 @@ IPTABLES_SOURCE = iptables-$(IPTABLES_VERSION).tar.bz2
IPTABLES_SITE = http://ftp.netfilter.org/pub/iptables
IPTABLES_CONF_OPT = --libexecdir=/usr/lib
+ifneq ($(BR2_INET_IPV6),y)
+IPTABLES_CONF_OPT += --enable-ipv6=no
+endif
+
IPTABLES_INSTALL_TARGET = YES
IPTABLES_AUTORECONF = YES