summaryrefslogtreecommitdiff
path: root/package/libidn/libidn.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/libidn/libidn.mk')
-rw-r--r--package/libidn/libidn.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/libidn/libidn.mk b/package/libidn/libidn.mk
index 6ee1a9698..4b3bea3a5 100644
--- a/package/libidn/libidn.mk
+++ b/package/libidn/libidn.mk
@@ -10,7 +10,7 @@ LIBIDN_INSTALL_STAGING = YES
LIBIDN_INSTALL_TARGET = YES
LIBIDN_CONF_OPT = --enable-shared --disable-java --enable-csharp=no
LIBIDN_LIBTOOL_PATCH = NO
-LIBIDN_DEPENDENCIES = host-pkg-config gettext $(if $(BR2_PACKAGE_LIBICONV),libiconv)
+LIBIDN_DEPENDENCIES = host-pkg-config $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) $(if $(BR2_PACKAGE_LIBICONV),libiconv)
$(eval $(call AUTOTARGETS,package,libidn))