From 8c9a0acf9042fe9e135bd852db3e9de867e17754 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 15 Feb 2019 23:22:13 +0100 Subject: [PATCH] Specify "--path ." when building with cargo --- build-package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-package.sh b/build-package.sh index 5840a045d..c1574a800 100755 --- a/build-package.sh +++ b/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