mirror of
https://git.yoctoproject.org/poky
synced 2026-05-06 05:27:54 +02:00
openssl_1.1.1: Fix Musl build by disabling async during configure
(From OE-Core rev: b011ae369de12bb54cd466d9f43139d9d2937383) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user