From ec1aa3b77d009ea169d5feaa17410678f76124b3 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Mon, 23 Feb 2026 22:32:42 -0800 Subject: [PATCH] Fix openssl3 for platforms without shared libs We need to also disable loading of dynamic shared objects (modules) with no-dso. --- recipes/wip/libs/tls/openssl3/recipe.toml | 2 +- recipes/wip/libs/tls/openssl3/redox.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/wip/libs/tls/openssl3/recipe.toml b/recipes/wip/libs/tls/openssl3/recipe.toml index 61fe6e4a..d01137bf 100644 --- a/recipes/wip/libs/tls/openssl3/recipe.toml +++ b/recipes/wip/libs/tls/openssl3/recipe.toml @@ -27,7 +27,7 @@ COOKBOOK_CONFIGURE_FLAGS=( if [ "${COOKBOOK_DYNAMIC}" = "1" ]; then COOKBOOK_CONFIGURE_FLAGS+=(shared) else - COOKBOOK_CONFIGURE_FLAGS+=(no-shared) + COOKBOOK_CONFIGURE_FLAGS+=(no-shared no-dso) fi "${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}" diff --git a/recipes/wip/libs/tls/openssl3/redox.patch b/recipes/wip/libs/tls/openssl3/redox.patch index e2038c92..b11ccc48 100644 --- a/recipes/wip/libs/tls/openssl3/redox.patch +++ b/recipes/wip/libs/tls/openssl3/redox.patch @@ -36,7 +36,7 @@ diff -ruwN source/Configurations/10-main.conf source-new/Configurations/10-main. + inherit_from => [ "redox-generic64" ], + perlasm_scheme => "linux64", + }, -+ "redox-i686" => { ++ "redox-i586" => { + inherit_from => [ "redox-common" ], + bn_ops => "BN_LLONG", + perlasm_scheme => "elf",