iptables: fix dependency for libip6tc on IPV6

Signed-off-by: Rosy Song <rosysong@rosinson.com>
(backported from 2dc1f54b12)
This commit is contained in:
Rosy Song
2018-08-09 14:47:31 +08:00
committed by Jo-Philipp Wich
parent 468a4b5b62
commit b3cc304e45

View File

@@ -462,7 +462,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
@@ -482,7 +482,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