summaryrefslogtreecommitdiffstats
path: root/package/libidn
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-24 21:17:55 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-24 22:33:06 +0200
commitdbdb4e33f04a52757232a6d00da23e8ba232c7d2 (patch)
tree563db4054d54ee0f241b1d6fa544340247f87bb4 /package/libidn
parent4caf78882ce0a5046504f94545a98296913f2f25 (diff)
downloadbuildroot-novena-dbdb4e33f04a52757232a6d00da23e8ba232c7d2.tar.gz
buildroot-novena-dbdb4e33f04a52757232a6d00da23e8ba232c7d2.zip
Update packages to BR2_NEEDS_GETTEXT_IF_LOCALE
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libidn')
-rw-r--r--package/libidn/Config.in1
-rw-r--r--package/libidn/libidn.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/libidn/Config.in b/package/libidn/Config.in
index 793fbc3d2..04f890072 100644
--- a/package/libidn/Config.in
+++ b/package/libidn/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBIDN
bool "libidn"
+ select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
Libidn's purpose is to encode and decode internationalized
domain names.
diff --git a/package/libidn/libidn.mk b/package/libidn/libidn.mk
index bc8e00140..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 $(if $(BR2_NEEDS_GETTEXT),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))