From 6b97d076c35d9cfa2600b5f792220733dadee4af Mon Sep 17 00:00:00 2001 From: Vasilito Date: Thu, 7 May 2026 20:52:15 +0100 Subject: [PATCH] fix: build redox-driver-sys with cookbook cargo Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus --- local/recipes/drivers/redox-driver-sys/recipe.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/local/recipes/drivers/redox-driver-sys/recipe.toml b/local/recipes/drivers/redox-driver-sys/recipe.toml index b9d5d0d0c..50ece1c7d 100644 --- a/local/recipes/drivers/redox-driver-sys/recipe.toml +++ b/local/recipes/drivers/redox-driver-sys/recipe.toml @@ -8,8 +8,12 @@ DYNAMIC_INIT mkdir -p "${COOKBOOK_STAGE}/usr/lib" -unset CARGO_TARGET_DIR -cargo build --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" --lib --target "${TARGET}" --release +"${COOKBOOK_CARGO}" build \ + --manifest-path "${COOKBOOK_SOURCE}/Cargo.toml" \ + --lib \ + ${build_flags} \ + -j "${COOKBOOK_MAKE_JOBS}" \ + ${COOKBOOK_CARGO_FLAGS[@]} cp "${COOKBOOK_SOURCE}/target/${TARGET}/release/libredox_driver_sys.a" \ "${COOKBOOK_STAGE}/usr/lib/libredox_driver_sys.a"