aboutsummaryrefslogtreecommitdiff
path: root/package/iptables/iptables.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-30 18:41:53 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-03-30 18:41:53 +0000
commit4e5ecadd2210511c335fc0a222c72d49ade3771e (patch)
tree3b95a83ca24a2ca120fa4622dd11d14f93ed8450 /package/iptables/iptables.mk
parenteee376bc8e2207c322a41c9d9dc602c3a6adb135 (diff)
downloadbuildroot-4e5ecadd2210511c335fc0a222c72d49ade3771e.tar.gz
buildroot-4e5ecadd2210511c335fc0a222c72d49ade3771e.tar.bz2
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 f0aff6f830..21ea5be138 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