[Buildroot] [git commit] package/azure-iot-sdk-c: needs wchar

Peter Korsgaard peter at korsgaard.com
Mon Nov 2 21:08:07 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=7ab0f58a5d0a12ebcf689f302ac3f785a04e28a3
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

wchar is needed since version LTS_07_2020_Ref01 which bumped internal
umock with
https://github.com/Azure/azure-iot-sdk-c/commit/8a27860452ec7345bce84d6690b0e8d167b7560a

Indeed umock unconditionally depends on wchar since
https://github.com/Azure/umock-c/commit/6b8e0160defb23ec4fde159ba6389cf61e352a0b

Fixes:
 - http://autobuild.buildroot.org/results/ad7ecd00d8f55c7cae5886c38c097ff0d071a962

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/azure-iot-sdk-c/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/azure-iot-sdk-c/Config.in b/package/azure-iot-sdk-c/Config.in
index c554d2fb9b..860746524c 100644
--- a/package/azure-iot-sdk-c/Config.in
+++ b/package/azure-iot-sdk-c/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_AZURE_IOT_SDK_C
 	bool "azure-iot-sdk-c"
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+	depends on BR2_USE_WCHAR
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBXML2
 	select BR2_PACKAGE_OPENSSL
@@ -13,5 +14,6 @@ config BR2_PACKAGE_AZURE_IOT_SDK_C
 
 	  https://github.com/Azure/azure-iot-sdk-c
 
-comment "azure-iot-sdk-c needs a toolchain w/ C++ and NPTL"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
+comment "azure-iot-sdk-c needs a toolchain w/ C++, NPTL and wchar"
+	depends on !BR2_INSTALL_LIBSTDCPP || \
+		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_USE_WCHAR


More information about the buildroot mailing list