iptables: fix dependency for libip6tc on IPV6
authorRosy Song <rosysong@rosinson.com>
Thu, 9 Aug 2018 06:47:31 +0000 (14:47 +0800)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 26 Sep 2018 20:40:37 +0000 (22:40 +0200)
Signed-off-by: Rosy Song <rosysong@rosinson.com>
package/network/utils/iptables/Makefile

index 4c5a581268efd9513f86702558852007af78a1a8..2beaa7135e881d6fc892cbda146dfe8b180689d3 100644 (file)
@@ -492,7 +492,7 @@ define Package/libiptc
 $(call Package/iptables/Default)
   SECTION:=libs
   CATEGORY:=Libraries
-  DEPENDS:=+libip4tc +libip6tc +libxtables
+  DEPENDS:=+libip4tc +IPV6:libip6tc +libxtables
   ABI_VERSION:=$(PKG_VERSION)
   TITLE:=IPv4/IPv6 firewall - shared libiptc library (compatibility stub)
 endef
@@ -512,7 +512,7 @@ $(call Package/iptables/Default)
   CATEGORY:=Libraries
   TITLE:=IPv6 firewall - shared libiptc library
   ABI_VERSION:=$(PKG_VERSION)
-  DEPENDS:=+libxtables
+  DEPENDS:=@IPV6 +libxtables
 endef
 
 define Package/libxtables