From: Thomas Petazzoni Date: Tue, 25 Nov 2014 21:33:10 +0000 (+0100) Subject: libunistring: add wchar dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8df26deab145425251fc3c6a0175a63e3fb10c0d;p=buildroot.git 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 --- 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