From ad4be753c15b7df9cd5e93f9edc3d58b8280baa1 Mon Sep 17 00:00:00 2001 From: Nathaniel Roach Date: Mon, 24 Aug 2015 23:44:16 +0800 Subject: [PATCH] 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 --- package/libmbim/Config.in | 1 + package/libmbim/libmbim.mk | 4 ++++ 2 files changed, 5 insertions(+) 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 -- 2.30.2