From: blogic Date: Mon, 2 Jun 2014 12:43:25 +0000 (+0000) Subject: iptables: Makefile: only build ip6tc, if IPv6 is enabled X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=fd7ef2b63ffcd76a942727345297a7b836219483;p=openwrt.git 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40916 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/network/utils/iptables/Makefile b/package/network/utils/iptables/Makefile index fd8477252f..48b1879bd3 100644 --- a/package/network/utils/iptables/Makefile +++ b/package/network/utils/iptables/Makefile @@ -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