From 8df26deab145425251fc3c6a0175a63e3fb10c0d Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 25 Nov 2014 22:33:10 +0100 Subject: [PATCH] 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 --- package/libunistring/Config.in | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.30.2