From: Nathaniel Roach Date: Mon, 24 Aug 2015 15:44:16 +0000 (+0800) Subject: package/libmbim: Now needs libgudev under systemd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad4be753c15b7df9cd5e93f9edc3d58b8280baa1;p=buildroot.git package/libmbim: Now needs libgudev under systemd libmbim uses code (originally from udev) that has since been split from the main systemd codebase into libgudev. Fixes: http://autobuild.buildroot.org/results/638/638dbf05b785a276a33983b0237b7cad54777b85/ Tweak the package files for libmbim to require libgudev when building with systemd. Signed-off-by: Nathaniel Roach Tested-by: Yegor Yefremov Signed-off-by: Thomas Petazzoni --- diff --git a/package/libmbim/Config.in b/package/libmbim/Config.in index bd34dd4ba1..e79d51f3a9 100644 --- a/package/libmbim/Config.in +++ b/package/libmbim/Config.in @@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBMBIM depends on BR2_USE_WCHAR # libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2 depends on BR2_PACKAGE_HAS_UDEV + select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD select BR2_PACKAGE_LIBGLIB2 help libmbim is a glib-based library for talking to WWAN modems and diff --git a/package/libmbim/libmbim.mk b/package/libmbim/libmbim.mk index 8d49f281c6..cfba08e7e3 100644 --- a/package/libmbim/libmbim.mk +++ b/package/libmbim/libmbim.mk @@ -13,6 +13,10 @@ LIBMBIM_INSTALL_STAGING = YES LIBMBIM_DEPENDENCIES = libglib2 udev +ifeq ($(BR2_INIT_SYSTEMD),y) +LIBMBIM_DEPENDENCIES += libgudev +endif + # we don't want -Werror LIBMBIM_CONF_OPTS = --enable-more-warnings=no