Skip to contentSkip to conversation

libcbor: use shared libraries

PATCH New Dan McGregor 1 participant 1 message Apr 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcbor: use shared libraries

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.

---
 meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb +1 -1
index 28bd5b5ae2f..0e15393dd59 100755
@@ -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"
Signature · 1 line
2.43.0