mosh: requires wchar
authorBaruch Siach <baruch@tkos.co.il>
Sat, 2 Apr 2016 21:08:56 +0000 (00:08 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 5 Apr 2016 19:36:43 +0000 (21:36 +0200)
Fixes:
http://autobuild.buildroot.net/results/dc6/dc60afdf2b6035cd72567cf37b837db087c79bea/
http://autobuild.buildroot.net/results/624/624a1fcae9633940714ae4e8ad9864e9611e93ec/
http://autobuild.buildroot.net/results/e95/e95c8cff40c87f167f82e37430ebd1f37c8c242e/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mosh/Config.in

index 26f72339896ad5a16fcc79e2bfa2e07c2266ea73..b4189ee10dd6adbc25eeff367216ad656bb30679 100644 (file)
@@ -1,6 +1,6 @@
-comment "mosh needs a toolchain w/ C++, threads, dynamic library"
+comment "mosh needs a toolchain w/ C++, threads, dynamic library, wchar"
        depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP \
-               || BR2_STATIC_LIBS
+               || BR2_STATIC_LIBS || !BR2_USE_WCHAR
        depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 
 config BR2_PACKAGE_MOSH
@@ -9,6 +9,7 @@ config BR2_PACKAGE_MOSH
        depends on BR2_INSTALL_LIBSTDCPP # protobuf
        depends on BR2_TOOLCHAIN_HAS_THREADS # protobuf
        depends on !BR2_STATIC_LIBS # protobuf
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_PROTOBUF
        select BR2_PACKAGE_NCURSES
        select BR2_PACKAGE_OPENSSL