package/jose: needs shared libraries

Fixes https://autobuild.buildroot.net/results/bf23e75461877a4ca3a189626f30cf8cde24de36/

Jose unconditionally builds a shared library since v11 with:

 commit b72f8cad002edc87286dd1f2331c359158c512e8
 Author: Rosen Penev <rosenp@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@korsgaard.com>
(cherry picked from commit f847653144)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Peter Korsgaard
2025-09-11 17:14:44 +02:00
committed by Thomas Perale
parent 3956c292d4
commit 0f5b40189a
+3 -2
View File
@@ -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