diff --git a/package/connman/Config.in b/package/connman/Config.in index ac012dda54..48a2ee421c 100644 --- a/package/connman/Config.in +++ b/package/connman/Config.in @@ -33,6 +33,7 @@ config BR2_PACKAGE_CONNMAN_NFTABLES bool "nftables" depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12 + select BR2_PACKAGE_LIBMNL select BR2_PACKAGE_NFTABLES help Use nftables as firewall. diff --git a/package/connman/connman.mk b/package/connman/connman.mk index 701be8b59d..1ebfe9cf14 100644 --- a/package/connman/connman.mk +++ b/package/connman/connman.mk @@ -41,7 +41,7 @@ CONNMAN_CONF_OPTS += --with-firewall=iptables CONNMAN_DEPENDENCIES += iptables else ifeq ($(BR2_PACKAGE_CONNMAN_NFTABLES),y) CONNMAN_CONF_OPTS += --with-firewall=nftables -CONNMAN_DEPENDENCIES += nftables +CONNMAN_DEPENDENCIES += libmnl nftables endif ifeq ($(BR2_PACKAGE_CONNMAN_LOOPBACK),y)