Skip to contentSkip to conversation

libnspr: requires thread support in toolchain

PATCH New Thomas Petazzoni 2 participants 2 messages Sep 17, 2012 – Sep 18, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnspr: requires thread support in toolchain

Fixes

http://autobuild.buildroot.org/results/58e0784e2289a60fa51589d2ce0a7a8ffe40f07e/build-end.log

---
 package/libnspr/Config.in |    5 +++--
 package/libnss/Config.in  |    6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)
package/libnspr/Config.in +3 -2
index 53086f0..f4f24d4 100644
@@ -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
package/libnss/Config.in +4 -2
index 55928a4..a070ffb 100644
@@ -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
+
Signature · 1 line
1.7.9.5