avahi: fix build with BR2_ENABLE_LOCALE
This commit is contained in:
parent
73ec8a1d7e
commit
be8ad23b09
@ -1,6 +1,8 @@
|
|||||||
config BR2_PACKAGE_AVAHI
|
config BR2_PACKAGE_AVAHI
|
||||||
bool "avahi"
|
bool "avahi"
|
||||||
select BR2_PACKAGE_LIBDAEMON
|
select BR2_PACKAGE_LIBDAEMON
|
||||||
|
select BR2_PACKAGE_GETTEXT if BR2_ENABLE_LOCALE
|
||||||
|
select BR2_PACKAGE_LIBINTL if BR2_ENABLE_LOCALE
|
||||||
help
|
help
|
||||||
Avahi is a system which facilitates service
|
Avahi is a system which facilitates service
|
||||||
discovery on a local network.
|
discovery on a local network.
|
||||||
|
@ -142,7 +142,7 @@ $(AVAHI_DIR)/.configured: $(AVAHI_DIR)/.unpacked $(AVAHI_EXTRA_DEPS)
|
|||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured
|
$(AVAHI_DIR)/.compiled: $(AVAHI_DIR)/.configured
|
||||||
$(MAKE) -C $(AVAHI_DIR)
|
$(MAKE) -C $(AVAHI_DIR) $(if $(BR2_ENABLE_LOCALE),LIBS=-lintl)
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
|
$(AVAHI_DIR)/.installed: $(AVAHI_DIR)/.compiled
|
||||||
@ -180,7 +180,7 @@ endif
|
|||||||
$(TARGET_DIR)/usr/sbin/avahi-daemon
|
$(TARGET_DIR)/usr/sbin/avahi-daemon
|
||||||
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
$(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $@
|
||||||
|
|
||||||
avahi: uclibc libdaemon $(AVAHI_TARGETS)
|
avahi: uclibc libdaemon $(AVAHI_TARGETS) $(if $(BR2_ENABLE_LOCALE),gettext libintl)
|
||||||
|
|
||||||
avahi-clean:
|
avahi-clean:
|
||||||
-$(MAKE) -C $(AVAHI_DIR) distclean
|
-$(MAKE) -C $(AVAHI_DIR) distclean
|
||||||
|
Loading…
Reference in New Issue
Block a user