config BR2_PACKAGE_AZURE_IOT_SDK_C
bool "azure-iot-sdk-c"
depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_LIBCURL
select BR2_PACKAGE_LIBXML2
select BR2_PACKAGE_OPENSSL
https://docs.microsoft.com/nl-nl/azure/iot-hub/iot-hub-device-sdk-c-intro
-comment "azure-iot-sdk-c needs a toolchain w/ C++"
- depends on !BR2_INSTALL_LIBSTDCPP
+comment "azure-iot-sdk-c needs a toolchain w/ C++ and NPTL"
+ depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL