iptables: Makefile: only build ip6tc, if IPv6 is enabled
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:43:25 +0000 (12:43 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:43:25 +0000 (12:43 +0000)
when disabling ipv6, the iptables build breaks without a manul clean or this patch

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

package/network/utils/iptables/Makefile

index fd8477252f5e8214a3a2d5c74db8f1763a5ae8f6..48b1879bd3dcd55c152132145b0df41246987bde 100644 (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