iptables: Makefile: only build ip6tc, if IPv6 is enabled

when disabling ipv6, the iptables build breaks without a manul clean or this patch

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2014-06-02 12:43:25 +00:00
parent 38c81b2552
commit c6c4c6f4b5
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ define Package/libiptc
$(call Package/iptables/Default)
SECTION:=libs
CATEGORY:=Libraries
DEPENDS:=+libip4tc +libip6tc
DEPENDS:=+libip4tc +IPV6:libip6tc
TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub)
endef