From 1a2c56150f9d1520f5e06eb6feada891963e7591 Mon Sep 17 00:00:00 2001 From: Nathaniel Roach Date: Mon, 24 Aug 2015 23:44:15 +0800 Subject: [PATCH] package/network-manager: now needs libgudev when systemd is used NetworkManager uses code (originally from udev) that has since been split from the main systemd codebase into libgudev. Tweak the package files for NetworkManager to require libgudev when building with systemd. Signed-off-by: Nathaniel Roach Signed-off-by: Thomas Petazzoni --- package/network-manager/Config.in | 1 + package/network-manager/network-manager.mk | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/package/network-manager/Config.in b/package/network-manager/Config.in index bcf8f90685..5a0e636c95 100644 --- a/package/network-manager/Config.in +++ b/package/network-manager/Config.in @@ -11,6 +11,7 @@ config BR2_PACKAGE_NETWORK_MANAGER select BR2_PACKAGE_GNUTLS select BR2_PACKAGE_LIBGCRYPT select BR2_PACKAGE_LIBNL + select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID select BR2_PACKAGE_WIRELESS_TOOLS diff --git a/package/network-manager/network-manager.mk b/package/network-manager/network-manager.mk index 25ad2a29cc..03c7d63dd7 100644 --- a/package/network-manager/network-manager.mk +++ b/package/network-manager/network-manager.mk @@ -63,6 +63,10 @@ ifeq ($(BR2_PACKAGE_DHCPCD),y) NETWORK_MANAGER_CONF_OPTS += --with-dhcpcd=/sbin/dhcpcd endif +ifeq ($(BR2_INIT_SYSTEMD),y) +NETWORK_MANAGER_DEPENDENCIES += libgudev +endif + # uClibc by default doesn't have backtrace support, so don't use it ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y) NETWORK_MANAGER_CONF_OPTS += --disable-crashtrace -- 2.30.2