mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 07:27:43 +00:00
Fix avahi compile when libexpat is not selected
This commit is contained in:
parent
f55ae3cdcf
commit
7eda39aff7
@ -26,12 +26,12 @@ AVAHI_EXTRA_DEPS:=
|
|||||||
|
|
||||||
ifeq ($(strip $(BR2_PACKAGE_AVAHI_DAEMON)),y)
|
ifeq ($(strip $(BR2_PACKAGE_AVAHI_DAEMON)),y)
|
||||||
AVAHI_TARGETS+=$(TARGET_DIR)/usr/sbin/avahi-daemon
|
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
|
# depend on the exact library file instead of expat so avahi isn't always
|
||||||
# considered out-of-date
|
# considered out-of-date
|
||||||
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
AVAHI_EXTRA_DEPS+=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
||||||
else
|
else
|
||||||
AVAHI_DISABLE_EXPAT:=--disable-expat
|
AVAHI_DISABLE_EXPAT:=--disable-expat --with-xml=none
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user