]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
azure-iot-sdk-c: Package depends on NPTL
authorAndré Hentschel <nerv@dawncrow.de>
Mon, 3 Jul 2017 21:45:32 +0000 (23:45 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 3 Jul 2017 22:31:17 +0000 (00:31 +0200)
Fixes:
http://autobuild.buildroot.org/results/1ad/1ad1c02eb866dd9a1b586308b11b4242f4321355/
http://autobuild.buildroot.org/results/fd0/fd0a1f71fec062a530bcffe95e501095657c0d50/

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/azure-iot-sdk-c/Config.in

index 9fb956ae0d5d92240db7f815e4e6824d56647cce..366dc91ea6ea585ad25c79f4dcd1351144e801ee 100644 (file)
@@ -1,6 +1,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
        select BR2_PACKAGE_LIBCURL
        select BR2_PACKAGE_LIBXML2
        select BR2_PACKAGE_OPENSSL
@@ -12,5 +13,5 @@ config BR2_PACKAGE_AZURE_IOT_SDK_C
 
          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