Browse Source

iptables: fix dependency for libip6tc on IPV6

Signed-off-by: Rosy Song <[email protected]>
Rosy Song 7 years ago
parent
commit
2dc1f54b12
1 changed files with 2 additions and 2 deletions
  1. 2 2
      package/network/utils/iptables/Makefile

+ 2 - 2
package/network/utils/iptables/Makefile

@@ -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