From: Arnout Vandecappelle (Essensium/Mind) Date: Thu, 1 Nov 2012 14:36:05 +0000 (+0100) Subject: avahi: remove double dependency on gettext X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c2de8da28b859d0ace26743095fb73ae1a94940;p=buildroot.git avahi: remove double dependency on gettext Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" Signed-off-by: Thomas Petazzoni --- diff --git a/package/avahi/avahi.mk b/package/avahi/avahi.mk index 028f3aeee4..eb76d795f9 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-*