package/bitcoin: needs wchar
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 8 Dec 2019 16:27:20 +0000 (17:27 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 8 Dec 2019 21:48:41 +0000 (22:48 +0100)
wchar is used in src/tinyformat.h and is a reverse dependency of boost

Fixes:
 - No autobuilder failure (as package can't be enabled yet)

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/bitcoin/Config.in

index 78b248890b07c7a86e22113263dad62d43ade100..3936cd3c797ae5ce8ead7444d9d70873c6b8f24e 100644 (file)
@@ -12,6 +12,7 @@ config BR2_PACKAGE_BITCOIN
        depends on BR2_INSTALL_LIBSTDCPP
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
        depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
+       depends on BR2_USE_WCHAR
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_SYSTEM
        select BR2_PACKAGE_BOOST_FILESYSTEM
@@ -36,9 +37,9 @@ config BR2_PACKAGE_BITCOIN
 
          https://bitcoincore.org
 
-comment "bitcoin needs a toolchain w/ C++"
+comment "bitcoin needs a toolchain w/ C++, wchar"
        depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS
-       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 
 comment "bitcoin needs a toolchain not affected by GCC bug 64735"
        depends on BR2_PACKAGE_BITCOIN_ARCH_SUPPORTS