package/connman: add missing libmnl dependency for nftables
authorJames Hilliard <james.hilliard1@gmail.com>
Sun, 8 Mar 2020 20:53:01 +0000 (14:53 -0600)
committerYann E. MORIN <yann.morin.1998@free.fr>
Thu, 26 Mar 2020 19:01:27 +0000 (20:01 +0100)
Building with nftables support requires libmnl.

Fixes:
  - http://autobuild.buildroot.org/results/4afdacc0357eb3b86594757dd89623b6e5a5e362/
  - http://autobuild.buildroot.org/results/89e6f92dee4a93185891c48b5d7f7b5b0345b67e/
  - http://autobuild.buildroot.org/results/dd8a68827ca70838c59d82780cb3eadf6b9764c2/

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
[yann.morin.1998@free.fr: add autobuild referecnes]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/connman/Config.in
package/connman/connman.mk

index ac012dda54c35f210245589ee8fe2488b2296628..48a2ee421c6c3da25758565e9241c8021f4afeba 100644 (file)
@@ -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.
index 701be8b59d0d8b8dc3aac6c6f0a10a61f10bfc2a..1ebfe9cf14f6110b8fbd1c2712ea9a02e363b17e 100644 (file)
@@ -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)