libnspr: requires thread support in toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 17 Sep 2012 06:44:34 +0000 (06:44 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 18 Sep 2012 19:30:22 +0000 (21:30 +0200)
Fixes

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/libnspr/Config.in
package/libnss/Config.in

index 53086f0730444ac66046c0fe4094ad67abf657c7..f4f24d46f7f4f8040fead42e2f6550bf4b5b5b54 100644 (file)
@@ -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
index 55928a427bff1cef19d87219c3c8382e854abaf0..a070ffbdfe4c5f2fe9152e08483f186eb7c41fb5 100644 (file)
@@ -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
+