libnspr: needs dynamic library support
authorBaruch Siach <baruch@tkos.co.il>
Tue, 23 Jun 2015 10:47:55 +0000 (13:47 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 23 Jun 2015 11:08:26 +0000 (13:08 +0200)
The only package selecting libnspr (libnss) requires dynamic library already.

Fixes:
http://autobuild.buildroot.net/results/296/296bc0fd888a43700d2ea020f8486932c5d37760/
http://autobuild.buildroot.net/results/a65/a65588aa91a87f9a3d8af2a485de2df3e30cfc19/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libnspr/Config.in

index 6a5310c50d06f061490bbea618bb299e991fc7fb..ba1ea55933217321c077aa1bf61fc89b03af8f8e 100644 (file)
@@ -7,6 +7,7 @@ if BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
 config BR2_PACKAGE_LIBNSPR
        bool "libnspr"
        depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on !BR2_STATIC_LIBS
        help
          NSPR is the Netscape Portable Runtime library which provides
          a platform-neutral API for system level and libc like
@@ -15,7 +16,7 @@ config BR2_PACKAGE_LIBNSPR
 
          http://www.mozilla.org/projects/nspr/
 
-comment "libnspr needs a toolchain w/ threads"
-       depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "libnspr needs a toolchain w/ threads, dynamic library"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
 
 endif