summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-11-01 14:36:05 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-30 21:37:09 (GMT)
commit0c2de8da28b859d0ace26743095fb73ae1a94940 (patch)
treefa3614dcbb741e451f4efe2553b06f2cd0eda941
parentcdc2420b4c332a0d69b8198c756bb054386c912a (diff)
downloadbuildroot-0c2de8da28b859d0ace26743095fb73ae1a94940.tar.gz
buildroot-0c2de8da28b859d0ace26743095fb73ae1a94940.tar.bz2
avahi: remove double dependency on gettext
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/avahi/avahi.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk
index 028f3ae..eb76d79 100644
--- a/package/avahi/avahi.mk
+++ b/package/avahi/avahi.mk
@@ -135,10 +135,7 @@ else
AVAHI_CONF_OPT += --disable-python
endif
-ifeq ($(BR2_PACKAGE_GETTEXT),y)
-AVAHI_DEPENDENCIES += gettext
-AVAHI_MAKE_OPT = LIBS=-lintl
-endif
+AVAHI_MAKE_OPT += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),LIBS=-lintl)
define AVAHI_REMOVE_INITSCRIPT
rm -rf $(TARGET_DIR)/etc/init.d/avahi-*