From 4e5ecadd2210511c335fc0a222c72d49ade3771e Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 30 Mar 2009 18:41:53 +0000 Subject: iptables: fix build without ipv6 support in toolchain Patch by Steffen Schulz , closes #233. --- package/iptables/iptables.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/iptables/iptables.mk') 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 -- cgit v1.2.3