fix: build redox-driver-sys with cookbook cargo
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user