@@ -1,6 +1,7 @@
config BR2_PACKAGE_LIBNSPR
bool "libnspr"
depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS
help
NSPR is the Netscape Portable Runtime library which provides
a platform-neutral API for system level and libc like
@@ -9,5 +10,5 @@ config BR2_PACKAGE_LIBNSPR
http://www.mozilla.org/projects/nspr/
-comment "libnspr requires a toolchain with LARGEFILE support"
- depends on !BR2_LARGEFILE
+comment "libnspr requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
@@ -4,6 +4,7 @@ config BR2_PACKAGE_LIBNSS
select BR2_PACKAGE_SQLITE
select BR2_PACKAGE_ZLIB
depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS # libnspr
help
Network Security Services (NSS) is a set of libraries designed
to support development of security-enabled client and server
@@ -13,5 +14,6 @@ config BR2_PACKAGE_LIBNSS
http://www.mozilla.org/projects/security/pki/nss/
-comment "libnss requires a toolchain with LARGEFILE support"
- depends on !BR2_LARGEFILE
+comment "libnss requires a toolchain with LARGEFILE and thread support"
+ depends on !BR2_LARGEFILE && !BR2_TOOLCHAIN_HAS_THREADS
+
Fixes http://autobuild.buildroot.org/results/58e0784e2289a60fa51589d2ce0a7a8ffe40f07e/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/libnspr/Config.in | 5 +++-- package/libnss/Config.in | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-)