package/sysrepo: fix NPTL dependency

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>
This commit is contained in:
Heiko Thiery 2019-11-01 06:53:20 +01:00 committed by Thomas Petazzoni
parent 709449716a
commit 1fc8023b20

View 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"