From: Marcus Folkesson Date: Wed, 27 Dec 2017 12:35:55 +0000 (+0100) Subject: libiio: fix libavahi-client dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18e00edb7796790b1ac1a0f6982ab8e25e27c691;p=buildroot.git libiio: fix libavahi-client dependency Avahi needs avahi-daemon and D-Bus to build avahi-client. Signed-off-by: Marcus Folkesson Signed-off-by: Thomas Petazzoni --- diff --git a/package/libiio/libiio.mk b/package/libiio/libiio.mk index 0b13064085..3fbd39188a 100644 --- a/package/libiio/libiio.mk +++ b/package/libiio/libiio.mk @@ -54,8 +54,8 @@ else LIBIIO_CONF_OPTS += -DWITH_IIOD_USBD=OFF endif -# Avahi support in libiio requires avahi-client, which needs avahi-daemon -ifeq ($(BR2_PACKAGE_AVAHI)$(BR2_PACKAGE_AVAHI_DAEMON),yy) +# Avahi support in libiio requires avahi-client, which needs avahi-daemon and dbus +ifeq ($(BR2_PACKAGE_AVAHI_DAEMON)$(BR2_PACKAGE_DBUS),yy) LIBIIO_DEPENDENCIES += avahi endif