From: John Crispin Date: Mon, 2 Jun 2014 12:43:25 +0000 (+0000) Subject: iptables: Makefile: only build ip6tc, if IPv6 is enabled X-Git-Tag: reboot~7136 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=af4769e298df53985ea790745ba0a129d36d8136;p=openwrt%2Fopenwrt.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 SVN-Revision: 40916 --- 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