Browse Source

Specify "--path ." when building with cargo

android-5
Fredrik Fornwall 6 years ago
parent
commit
8c9a0acf90
  1. 4
      build-package.sh

4
build-package.sh

@ -1211,7 +1211,9 @@ termux_step_make_install() {
fi
elif test -f Cargo.toml; then
termux_setup_rust
cargo install --force \
cargo install \
--path . \
--force \
--target $CARGO_TARGET_NAME \
--root $TERMUX_PREFIX \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS

Loading…
Cancel
Save