package/sysrepo: needs NPTL
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Thu, 31 Oct 2019 13:15:06 +0000 (14:15 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 31 Oct 2019 21:23:33 +0000 (22:23 +0100)
sysrepo needs pthread_rwlock_timedrdlock

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

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sysrepo/Config.in

index 3ad6040858e6ff538d4f57467d866625994e0084..64050adfda3c4d5f260b658764737a0b4649a78b 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_SYSREPO
        depends on BR2_USE_MMU # libnetconf2
        depends on !BR2_STATIC_LIBS
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_NPTL
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # host-protobuf
        select BR2_PACKAGE_LIBAVL
@@ -28,8 +28,8 @@ config BR2_PACKAGE_SYSREPO_EXAMPLES
 
 endif
 
-comment "sysrepo needs a toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
+comment "sysrepo needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.8"
        depends on BR2_USE_MMU
        depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
-               || !BR2_TOOLCHAIN_HAS_THREADS
+               || !BR2_TOOLCHAIN_HAS_NPTL
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"