Update the libspdm recipe to build and install shared libraries.

Signed-off-by: Archana Kakani <[email protected]>
---
 meta-oe/recipes-support/libspdm/libspdm_3.8.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libspdm/libspdm_3.8.2.bb 
b/meta-oe/recipes-support/libspdm/libspdm_3.8.2.bb
index 04f1ffc1fc..d3e4802d5e 100644
--- a/meta-oe/recipes-support/libspdm/libspdm_3.8.2.bb
+++ b/meta-oe/recipes-support/libspdm/libspdm_3.8.2.bb
@@ -51,6 +51,7 @@ EXTRA_OECMAKE += "\
        -DTARGET=Release \
        -DCRYPTO=openssl \
        -DENABLE_BINARY_BUILD=1 \
+        -DBUILD_LINUX_SHARED_LIB=ON \
        -DCOMPILED_LIBCRYPTO_PATH=${libdir} \
        -DCOMPILED_LIBSSL_PATH=${libdir} \
        -DDISABLE_TESTS=1 \
@@ -60,7 +61,7 @@ EXTRA_OECMAKE += "\
 
 do_install () {
     install -d ${D}/${libdir}
-    install -m 0644 lib/* ${D}/${libdir}/
+    cp -rf lib/* ${D}/${libdir}/
 
     install -d ${D}/${includedir}/${BPN}/
     cp -rf ${S}/include/* ${D}/${includedir}/${BPN}/
-- 
2.51.0

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

Reply via email to