From bbe48a059cb88e9ca4ca4466f72be0c07989aefd Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Tue, 23 Jun 2015 13:47:55 +0300 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/libnspr/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/libnspr/Config.in b/package/libnspr/Config.in index 6a5310c50d..ba1ea55933 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 -- 2.30.2