From 6a37e7df6ddd8a7f70ff56ceab61c7237df2514b Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 11 Aug 2026 04:06:10 +0700 Subject: [PATCH] Probably fix rustpython static build --- recipes/dev/rustpython/recipe.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/dev/rustpython/recipe.toml b/recipes/dev/rustpython/recipe.toml index e0085c89a..61a99755f 100644 --- a/recipes/dev/rustpython/recipe.toml +++ b/recipes/dev/rustpython/recipe.toml @@ -19,6 +19,9 @@ DYNAMIC_INIT export BUILDTIME_RUSTPYTHONPATH=/usr/lib/rustpython export OPENSSL_DIR="${COOKBOOK_SYSROOT}" export ZLIB_STATIC=1 +if [ "${COOKBOOK_DYNAMIC}" != "1" ]; then + export OPENSSL_STATIC=1 +fi cookbook_cargo --features ssl mkdir -p "${COOKBOOK_STAGE}/usr/lib" rsync -aE \