From 166bb89f6d97495b6522786182b4f9623acd7ff4 Mon Sep 17 00:00:00 2001 From: Deepak Rawat Date: Mon, 14 Dec 2020 16:07:23 +0000 Subject: openssl: add support for mingw64 as target Engines are installed in a slightly different path, and the host type doesn't precisely match in x86_64 Co-authored-by: Paul Eggleton Co-authored-by: Deepak Rawat Signed-off-by: Luca Boccassi Signed-off-by: Richard Purdie --- meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta') diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb index 52dbdf5880..c63ba3c8e7 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1i.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" -- cgit 1.2.3-korg