From: Nathaniel Roach Date: Mon, 24 Aug 2015 15:44:15 +0000 (+0800) Subject: package/network-manager: now needs libgudev when systemd is used X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a2c56150f9d1520f5e06eb6feada891963e7591;p=buildroot.git 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 --- 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