summaryrefslogtreecommitdiffstats
path: root/package/iptables/iptables.mk
diff options
context:
space:
mode:
authorPeter Korsgaard2009-03-30 20:41:53 +0200
committerPeter Korsgaard2009-03-30 20:41:53 +0200
commit4e5ecadd2210511c335fc0a222c72d49ade3771e (patch)
tree3b95a83ca24a2ca120fa4622dd11d14f93ed8450 /package/iptables/iptables.mk
parentfreetype: strip target library and remove freetype-config if not needed (diff)
downloadbuildroot-4e5ecadd2210511c335fc0a222c72d49ade3771e.tar.gz
buildroot-4e5ecadd2210511c335fc0a222c72d49ade3771e.tar.xz
buildroot-4e5ecadd2210511c335fc0a222c72d49ade3771e.zip
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