package/sysrepo: fix NPTL dependency
authorHeiko Thiery <heiko.thiery@kontron.com>
Fri, 1 Nov 2019 05:53:20 +0000 (06:53 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 1 Nov 2019 10:40:19 +0000 (11:40 +0100)
Dependency is BR2_TOOLCHAIN_HAS_THREADS_NPTL instead of
!BR2_TOOLCHAIN_HAS_NPTL.

Signed-off-by: Heiko Thiery <heiko.thiery@kontron.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/sysrepo/Config.in

index 64050adfda3c4d5f260b658764737a0b4649a78b..18a09e0c57117cf76f88f3875f228f855c26270a 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_NPTL
+       depends on BR2_TOOLCHAIN_HAS_THREADS_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
@@ -31,5 +31,5 @@ endif
 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_NPTL
+               || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
        depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"