libiio: fix libavahi-client dependency
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Wed, 27 Dec 2017 12:35:55 +0000 (13:35 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 30 Dec 2017 17:31:48 +0000 (18:31 +0100)
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>
package/libiio/libiio.mk

index 0b13064085db3f89fb2e8aa9193cbc2ca18a21fc..3fbd39188a3caf1152751ec93672c4385f99025e 100644 (file)
@@ -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