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