Skip to contentSkip to conversation

package/jose: needs shared libraries

PATCH Applied Peter Korsgaard 2 participants 3 messages Sep 1, 2025 – Sep 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 <[email protected]>
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.

---
 package/jose/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/jose/Config.in +3 -2
index 4a9ed8da65..32e17276b6 100644
@@ -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
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Peter" == Peter Korsgaard <[email protected]> writes:

Fixes https://autobuild.buildroot.net/results/bf23e75461877a4ca3a189626f30cf8cde24de36/
Jose unconditionally builds a shared library since v11 with:

commit b72f8cad002edc87286dd1f2331c359158c512e8
Author: Rosen Penev <[email protected]>
Date: Tue May 30 12:18:30 2023 +0300

Quoted 7 lines

jose: build library only as shared (#119)

Needed because of constructor usage in library.

So add a dependency on BR2_SHARED_LIBS.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Peter Korsgaard

In reply of:

Quoted 8 lines

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

Jose unconditionally builds a shared library since v11 with:

commit b72f8cad002edc87286dd1f2331c359158c512e8
Author: Rosen Penev <[email protected]>
Date: Tue May 30 12:18:30 2023 +0300

Quoted 7 lines

jose: build library only as shared (#119)

Needed because of constructor usage in library.

So add a dependency on BR2_SHARED_LIBS.

Applied to 2025.02.x & 2025.05.x. Thanks

Quoted 30 lines
---
 package/jose/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
package/jose/Config.in +3 -2
index 4a9ed8da65..32e17276b6 100644
@@ -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
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot