tergent: specify arch

This commit is contained in:
Leonid Pliushch 2020-11-22 21:58:24 +02:00
parent 9292f88b33
commit 34b030e5ce

View File

@ -9,7 +9,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make_install() {
termux_setup_rust
cargo build --release
cargo build --target=$TERMUX_HOST_PLATFORM --release
install -Dm600 -t $TERMUX_PREFIX/lib target/release/libtergent.so
}