commit 1b263f9c1f195688e77b77a2cb02c348f6644717 parent caff0b3854bfcf7dcfb1712acbaca6a09a3e093f Author: Darren Clarke <darren@redaranj.com> Date: Thu, 9 Nov 2023 09:22:12 +0100 Re-add target-dir Diffstat:
| M | mobile/android/build.sh | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mobile/android/build.sh b/mobile/android/build.sh @@ -25,9 +25,9 @@ declare -A arch_dir_map=( ) for architecture in "${!arch_dir_map[@]}"; do if [ "${BUILD_MODE}" == "release" ]; then - cross build --release --manifest-path "${MOBILE_DIR}/Cargo.toml" --target "$architecture" + cross build --release --manifest-path "${MOBILE_DIR}/Cargo.toml" --target "$architecture" --target-dir="${TARGET_DIR}" else - cross build --manifest-path "${MOBILE_DIR}/Cargo.toml" --target "$architecture" + cross build --manifest-path "${MOBILE_DIR}/Cargo.toml" --target "$architecture" --target-dir="${TARGET_DIR}" fi DESTINATION_DIR="${JNILIBS_DIR}/${arch_dir_map[$architecture]}"