From: Deepak Rawat <der...@microsoft.com>

Engines are installed in a slightly different path, and
the host type doesn't precisely match in x86_64

Co-authored-by: Paul Eggleton <paul.eggle...@microsoft.com>
Co-authored-by: Deepak Rawat <der...@microsoft.com>
Signed-off-by: Luca Boccassi <luca.bocca...@microsoft.com>
---
 meta/recipes-connectivity/openssl/openssl_1.1.1h.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb 
b/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
index 1827167201..b8ba10e324 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1h.bb
@@ -113,6 +113,9 @@ do_configure () {
        linux-sparc | linux-supersparc)
                target=linux-sparcv9
                ;;
+       mingw32-x86_64)
+               target=mingw64
+               ;;
        esac
 
        useprefix=${prefix}
@@ -195,6 +198,8 @@ FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf \
                       ${libdir}/ssl-1.1/openssl.cnf* \
                       "
 FILES_${PN}-engines = "${libdir}/engines-1.1"
+# ${prefix} comes from what we pass into --prefix at configure time (which is 
used for INSTALLTOP)
+FILES_${PN}-engines_append_mingw32_class-nativesdk = " 
${prefix}${libdir}/engines-1_1"
 FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
 FILES_${PN} =+ "${libdir}/ssl-1.1/*"
 FILES_${PN}_append_class-nativesdk = " 
${SDKPATHNATIVE}/environment-setup.d/openssl.sh"
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145602): 
https://lists.openembedded.org/g/openembedded-core/message/145602
Mute This Topic: https://lists.openembedded.org/mt/78953706/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to