summaryrefslogtreecommitdiffstats
path: root/package/avahi/avahi.mk
diff options
context:
space:
mode:
authorThiago A. CorrĂȘa2008-06-24 18:02:22 +0200
committerThiago A. CorrĂȘa2008-06-24 18:02:22 +0200
commit7eda39aff7d3b5899f6c881d54ce1f9f7cf1109d (patch)
tree789a52f3a4082c0da00d95e423ab2215e2eec0a6 /package/avahi/avahi.mk
parentMakefile.autotools.in: also support source/source-check (diff)
downloadbuildroot-7eda39aff7d3b5899f6c881d54ce1f9f7cf1109d.tar.gz
buildroot-7eda39aff7d3b5899f6c881d54ce1f9f7cf1109d.tar.xz
buildroot-7eda39aff7d3b5899f6c881d54ce1f9f7cf1109d.zip
Fix avahi compile when libexpat is not selected
Diffstat (limited to 'package/avahi/avahi.mk')
-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