summaryrefslogtreecommitdiffstats
path: root/package/libunistring
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-25 22:33:10 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-11-26 21:51:41 +0100
commit8df26deab145425251fc3c6a0175a63e3fb10c0d (patch)
treeea34c030d37590901d03cf506435f7aea881b302 /package/libunistring
parent319e7ffbe8fa4a1ff7733c40ff87123bbc495f82 (diff)
downloadbuildroot-8df26deab145425251fc3c6a0175a63e3fb10c0d.tar.gz
buildroot-8df26deab145425251fc3c6a0175a63e3fb10c0d.zip
libunistring: add wchar dependency
Even though libunistring itself builds fine, its library contains undefined references to wchar related functions, which are causing link failures when the library is actually linked into an application. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libunistring')
-rw-r--r--package/libunistring/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/libunistring/Config.in b/package/libunistring/Config.in
index ebb37d9794..88fc658035 100644
--- a/package/libunistring/Config.in
+++ b/package/libunistring/Config.in
@@ -1,8 +1,12 @@
config BR2_PACKAGE_LIBUNISTRING
bool "libunistring"
+ depends on BR2_USE_WCHAR
help
The libunistring library provides functions for manipulating
Unicode strings and for manipulating C strings according to
the Unicode standard.
http://www.gnu.org/software/libunistring/
+
+comment "libunistring needs a toolchain w/ wchar"
+ depends on !BR2_USE_WCHAR
OpenPOWER on IntegriCloud