[OE-core] [PATCH v2] curl: fix libssl error for ARMv8
Huang Qiyu
huangqy.fnst at cn.fujitsu.com
Thu May 25 02:18:32 UTC 2017
curl + gnutls can not work on ARMv8 32BE, so change it to curl + ssl when the target is aarch64.
The error is as follow:
curl: (35) gnutls_handshake() failed: Bad record MAC
When set machine to qemuarm64 in local.conf, this patch will work.
Signed-off-by: Huang Qiyu <huangqy.fnst at cn.fujitsu.com>
---
meta/recipes-support/curl/curl_7.54.0.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/curl/curl_7.54.0.bb b/meta/recipes-support/curl/curl_7.54.0.bb
index ce5ca37..7421617 100644
--- a/meta/recipes-support/curl/curl_7.54.0.bb
+++ b/meta/recipes-support/curl/curl_7.54.0.bb
@@ -21,6 +21,7 @@ CVE_PRODUCT = "libcurl"
inherit autotools pkgconfig binconfig multilib_header
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)} gnutls proxy zlib"
+PACKAGECONFIG_aarch64 ??= "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} ssl proxy zlib"
PACKAGECONFIG_class-native = "ipv6 proxy ssl zlib"
PACKAGECONFIG_class-nativesdk = "ipv6 proxy ssl zlib"
--
2.7.4
More information about the Openembedded-core
mailing list