summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libnspr/Config.in5
-rw-r--r--package/libnss/Config.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/package/libnspr/Config.in b/package/libnspr/Config.in
index 53086f073..f4f24d46f 100644
--- a/package/libnspr/Config.in
+++ b/package/libnspr/Config.in
@@ -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
diff --git a/package/libnss/Config.in b/package/libnss/Config.in
index 55928a427..a070ffbdf 100644
--- a/package/libnss/Config.in
+++ b/package/libnss/Config.in
@@ -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
+