From 968fb22b8c977d4815c1130f08f725d75c0b5225 Mon Sep 17 00:00:00 2001 From: Josh Megnauth Date: Wed, 21 May 2025 21:05:08 -0400 Subject: [PATCH] Fix RustPython compilation The head of the repository compiles whereas the branch doesn't anymore. DYNAMIC_INIT is needed because of a linking error when the dependencies are dynamically compiled. --- recipes/dev/rustpython/recipe.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes/dev/rustpython/recipe.toml b/recipes/dev/rustpython/recipe.toml index 5c064657..a2b1f134 100644 --- a/recipes/dev/rustpython/recipe.toml +++ b/recipes/dev/rustpython/recipe.toml @@ -1,6 +1,5 @@ [source] git = "https://github.com/RustPython/RustPython" -branch = "redox-release" [build] dependencies = [ @@ -9,6 +8,8 @@ dependencies = [ ] template = "custom" script = """ +DYNAMIC_INIT + (cd "${COOKBOOK_SOURCE}" && bash scripts/redox/uncomment-cargo.sh && cargo update) export BUILDTIME_RUSTPYTHONPATH=/lib/rustpython export OPENSSL_DIR="${COOKBOOK_SYSROOT}"