summaryrefslogtreecommitdiff
path: root/package/avahi/avahi.mk
diff options
context:
space:
mode:
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2012-11-01 15:36:05 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-30 23:37:09 +0200
commit0c2de8da28b859d0ace26743095fb73ae1a94940 (patch)
treefa3614dcbb741e451f4efe2553b06f2cd0eda941 /package/avahi/avahi.mk
parentcdc2420b4c332a0d69b8198c756bb054386c912a (diff)
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>
Diffstat (limited to 'package/avahi/avahi.mk')
-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 028f3aeee..eb76d795f 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-*