Specify "--path ." when building with cargo
This commit is contained in:
parent
b88aff7be0
commit
4fe189ec8f
@ -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…
Reference in New Issue
Block a user