diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index a013509d17..78c24c276e 100644 --- a/package/avahi/avahi.mk +++ b/package/avahi/avahi.mk @@ -37,7 +37,7 @@ endif ifeq ($(BR2_PACKAGE_DBUS),y) AVAHI_DISABLE_DBUS:= -AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/bin/dbus-daemon +AVAHI_EXTRA_DEPS+=dbus else AVAHI_DISABLE_DBUS:=--disable-dbus endif diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index f25f87cf41..59ca4d438d 100644 --- a/package/dnsmasq/dnsmasq.mk +++ b/package/dnsmasq/dnsmasq.mk @@ -26,7 +26,7 @@ DNSMASQ_COPTS+=-DNO_LARGEFILE endif ifeq ($(BR2_PACKAGE_DBUS),y) -DNSMASQ_DBUS:=$(TARGET_DIR)/usr/bin/dbus-daemon +DNSMASQ_DBUS:=dbus else DNSMASQ_DBUS:= endif