libcbor: use shared libraries
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.
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(-)
meta-oe/recipes-extended/libcbor/libcbor_0.11.0.bb +1 -1
@@ -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