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>
This commit is contained in:
Thomas Petazzoni 2014-11-25 22:33:10 +01:00
parent 319e7ffbe8
commit 8df26deab1
1 changed files with 4 additions and 0 deletions

View File

@ -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