summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-06-23 13:47:55 +0300
committerPeter Korsgaard <peter@korsgaard.com>2015-06-23 13:08:26 +0200
commitbbe48a059cb88e9ca4ca4466f72be0c07989aefd (patch)
treeca6d3b8d3d716ff4c76012d5271a3a3003391195
parentacc179a110a682be93fe996edc8c98583626c3b9 (diff)
libnspr: needs dynamic library support
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>
-rw-r--r--package/libnspr/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/libnspr/Config.in b/package/libnspr/Config.in
index 6a5310c50..ba1ea5593 100644
--- a/package/libnspr/Config.in
+++ b/package/libnspr/Config.in
@@ -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