Skip to contentSkip to conversation

libnspr: needs dynamic library support

PATCH New Baruch Siach 2 participants 2 messages Jun 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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/

---
 package/libnspr/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/libnspr/Config.in +3 -2
index 6a5310c50d06..ba1ea5593321 100644
@@ -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
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 libnspr: needs dynamic library support

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Baruch" == Baruch Siach <[email protected]> writes:

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/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard