summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago A. CorrĂȘa <thiago.correa@gmail.com>2008-06-24 16:02:22 +0000
committerThiago A. CorrĂȘa <thiago.correa@gmail.com>2008-06-24 16:02:22 +0000
commit7eda39aff7d3b5899f6c881d54ce1f9f7cf1109d (patch)
tree789a52f3a4082c0da00d95e423ab2215e2eec0a6
parentf55ae3cdcf810ea7ac5ddaa75b290438a086916b (diff)
Fix avahi compile when libexpat is not selected
-rw-r--r--package/avahi/avahi.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 46532a35d..5f14beea6 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -26,12 +26,12 @@ AVAHI_EXTRA_DEPS:=
ifeq ($(strip $(BR2_PACKAGE_AVAHI_DAEMON)),y)
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
-AVAHI_DISABLE_EXPAT:=
+AVAHI_DISABLE_EXPAT:=--with-xml=expat
# depend on the exact library file instead of expat so avahi isn't always
# considered out-of-date
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
else
-AVAHI_DISABLE_EXPAT:=--disable-expat
+AVAHI_DISABLE_EXPAT:=--disable-expat --with-xml=none
endif