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 <[email protected]>
---
 meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110048): 
https://lists.openembedded.org/g/openembedded-devel/message/110048
Mute This Topic: https://lists.openembedded.org/mt/105588651/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to