[OE-core] [PATCH 1/2] openssl_1.1.1: Fix Musl build by disabling async during configure

Khem Raj raj.khem at gmail.com
Tue Sep 4 19:00:26 UTC 2018


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb
index 7122cfcf02..c13731feac 100644
--- a/meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb
+++ b/meta/recipes-connectivity/openssl/openssl_1.1.1-pre9.bb
@@ -31,7 +31,7 @@ inherit lib_package multilib_header ptest
 #| ./libcrypto.so: undefined reference to `getcontext'
 #| ./libcrypto.so: undefined reference to `setcontext'
 #| ./libcrypto.so: undefined reference to `makecontext'
-CPPFLAGS_append_libc-musl = " -DOPENSSL_NO_ASYNC"
+EXTRA_OECONF_append_libc-musl = " no-async"
 
 # This prevents openssl from using getrandom() which is not available on older glibc versions
 # (native versions can be built with newer glibc, but then relocated onto a system with older glibc)
-- 
2.18.0




More information about the Openembedded-core mailing list