Specify "--path ." when building with cargo

This commit is contained in:
Fredrik Fornwall 2019-02-15 23:22:13 +01:00
parent b88aff7be0
commit 4fe189ec8f

View File

@ -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