summaryrefslogtreecommitdiffstats
path: root/package/libiio
diff options
context:
space:
mode:
authorMarcus Folkesson <marcus.folkesson@gmail.com>2017-12-27 13:35:55 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-30 18:31:48 +0100
commit18e00edb7796790b1ac1a0f6982ab8e25e27c691 (patch)
tree85fd110b07f00ba155f014790e45bd0cfd12f3c0 /package/libiio
parente4bdd2a8241eb0c3b6e2634c2b693a743e99cec8 (diff)
downloadbuildroot-18e00edb7796790b1ac1a0f6982ab8e25e27c691.tar.gz
buildroot-18e00edb7796790b1ac1a0f6982ab8e25e27c691.zip
libiio: fix libavahi-client dependency
Avahi needs avahi-daemon and D-Bus to build avahi-client. Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libiio')
-rw-r--r--package/libiio/libiio.mk4
1 files changed, 2 insertions, 2 deletions
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
OpenPOWER on IntegriCloud