summaryrefslogtreecommitdiffstats
path: root/package/libiconv
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-15 09:19:24 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-05-20 22:34:28 +0200
commit2fae26486f86e9ed2b466ebc61a3521b60897a12 (patch)
treedce54610f9c1cacbe7b6fc5a1a6d09b974a085e7 /package/libiconv
parentfad3b5a7bee8ce6dd1cf17f230de693d8ed9230f (diff)
downloadbuildroot-novena-2fae26486f86e9ed2b466ebc61a3521b60897a12.tar.gz
buildroot-novena-2fae26486f86e9ed2b466ebc61a3521b60897a12.zip
iconv: disallow selection when BR2_ENABLE_LOCALE is enabled
A C library compiled with locale support already has an iconv() implementation. In that case, libiconv is useless. Therefore, disallow the selection of libiconv when the configuration says that the toolchain has locale support. This fixes build issues similar to the one we had with gettext: libiconv headers are installed, but -liconv is not added because the ./configure script detects that the C library supports iconv. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libiconv')
-rw-r--r--package/libiconv/Config.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/libiconv/Config.in b/package/libiconv/Config.in
index b6009444f..ee4fd6201 100644
--- a/package/libiconv/Config.in
+++ b/package/libiconv/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_LIBICONV
bool "libiconv"
+ depends on !BR2_ENABLE_LOCALE
help
unicode conversion library