cargo: install with --locked

Otherwise build tries to use newest dependency versions which might
cause problems. See
https://github.com/termux/termux-packages/pull/6432
This commit is contained in:
Henrik Grimler 2021-03-10 14:09:26 +01:00
parent ac2ec670dd
commit 27682c4dc6
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ termux_step_make_install() {
--jobs $TERMUX_MAKE_PROCESSES \
--path . \
--force \
--locked \
--target $CARGO_TARGET_NAME \
--root $TERMUX_PREFIX \
$TERMUX_PKG_EXTRA_CONFIGURE_ARGS