[Buildroot] [git commit] package/jose: needs shared libraries
Peter Korsgaard
peter at korsgaard.com
Wed Sep 3 16:17:49 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=f84765314459c0f92c5e7f98746ba08d5d82cf1f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master
Fixes https://autobuild.buildroot.net/results/bf23e75461877a4ca3a189626f30cf8cde24de36/
Jose unconditionally builds a shared library since v11 with:
commit b72f8cad002edc87286dd1f2331c359158c512e8
Author: Rosen Penev <rosenp at gmail.com>
Date: Tue May 30 12:18:30 2023 +0300
jose: build library only as shared (#119)
Needed because of constructor usage in library.
So add a dependency on BR2_SHARED_LIBS.
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/jose/Config.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
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
More information about the buildroot
mailing list