From 790fb63a4a5db6e2f7bd116b0f58c2d39fde0a3d Mon Sep 17 00:00:00 2001 From: Adam Lackorzynski Date: Sat, 31 Oct 2026 10:48:10 +0100 Subject: [PATCH] libs::openssl: Do not link libdl on L4Re With musl the dl* functions are part of libc and there is no separate libdl on L4Re, so drop -ldl from the L4Re targets. Signed-off-by: Adam Lackorzynski --- recipes/libs/openssl/0002-add-l4re.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/libs/openssl/0002-add-l4re.patch b/recipes/libs/openssl/0002-add-l4re.patch index f68be7e1..af18719e 100644 --- a/recipes/libs/openssl/0002-add-l4re.patch +++ b/recipes/libs/openssl/0002-add-l4re.patch @@ -18,7 +18,7 @@ + cflags => threads("-pthread"), + cxxflags => combine("-std=c++11", threads("-pthread")), + lib_cppflags => "-DOPENSSL_USE_NODELETE -D__UCLIBC_HAS_CONTEXT_FUNCS__", # or change in uclibc? -+ ex_libs => add("-ldl", threads("-pthread")), ++ ex_libs => add(threads("-pthread")), + #bn_ops => "BN_LLONG RC4_CHAR", #32bit + bn_ops => "SIXTY_FOUR_BIT_LONG RC4_CHAR", + thread_scheme => "pthreads",