diff mbox series

[meta-oe] libcbor: use shared libraries

Message ID 20240417233327.321386-1-dan.mcgregor@usask.ca
State Accepted
Headers show
Series [meta-oe] libcbor: use shared libraries | expand

Commit Message

Dan McGregor April 17, 2024, 11:33 p.m. UTC
libfido2 requires cbor be position independent. When PIE's the default
this isn't a problem, but not all build configurations do that. Instead
of relying on that, just make shared libraries.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
---
 meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb b/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
index 28bd5b5ae2f..0e15393dd59 100755
--- a/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
+++ b/meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb
@@ -11,4 +11,4 @@  S = "${WORKDIR}/git"
 
 inherit cmake
 
-EXTRA_OECMAKE += " -DCMAKE_BUILD_TYPE=Release"
+EXTRA_OECMAKE += "-DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS:BOOL=ON"