libcpprestsdk: require nptl threads
authorAdam Duskett <aduskett@gmail.com>
Tue, 23 Jan 2018 10:39:24 +0000 (05:39 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 29 Jan 2018 20:05:07 +0000 (21:05 +0100)
pthread_condattr_setclock is used which is NPTL only.

Fixes:
http://autobuild.buildroot.net/results/abf058948c9e4e9a50d42a05689b76bfb54a02e2/

Signed-off-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libcpprestsdk/Config.in

index 64c383c2c97dc1ae8625350df6d437b50251a948..a07159b124216de0274a9aec2418bd16624c920b 100644 (file)
@@ -1,9 +1,9 @@
 config BR2_PACKAGE_LIBCPPRESTSDK
        bool "libcpprestsdk"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS # boost
        depends on BR2_USE_WCHAR # boost
        depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # exception_ptr
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        select BR2_PACKAGE_BOOST
        select BR2_PACKAGE_BOOST_ATOMIC
        select BR2_PACKAGE_BOOST_CHRONO
@@ -22,9 +22,10 @@ config BR2_PACKAGE_LIBCPPRESTSDK
 
          https://github.com/Microsoft/cpprestsdk
 
-comment "libcpprestsdk needs a toolchain w/ C++, wchar, threads"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
-               || !BR2_USE_WCHAR
+comment "libcpprestsdk needs a toolchain w/ NPTL, C++, wchar"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
+               !BR2_INSTALL_LIBSTDCPP || \
+               !BR2_USE_WCHAR
 
 comment "libcpprestsdk needs exception_ptr"
        depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735