diff --git a/package/jose/Config.in b/package/jose/Config.in index 4a9ed8da65..32e17276b6 100644 --- a/package/jose/Config.in +++ b/package/jose/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_JOSE bool "jose" + depends on BR2_SHARED_LIBS # builds .so depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_ZLIB select BR2_PACKAGE_JANSSON @@ -10,5 +11,5 @@ config BR2_PACKAGE_JOSE https://github.com/latchset/jose -comment "jose needs a toolchain w/ threads" - depends on !BR2_TOOLCHAIN_HAS_THREADS +comment "jose needs a toolchain w/ shared libraries, threads" + depends on !BR2_SHARED_LIBS || !BR2_TOOLCHAIN_HAS_THREADS