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 <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Dan McGregor
2024-04-17 17:33:27 -06:00
committed by Khem Raj
parent e872c0ed54
commit a755d77336
@@ -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"