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