tergent: specify arch
This commit is contained in:
parent
9292f88b33
commit
34b030e5ce
@ -9,7 +9,7 @@ TERMUX_PKG_BUILD_IN_SRC=true
|
|||||||
|
|
||||||
termux_step_make_install() {
|
termux_step_make_install() {
|
||||||
termux_setup_rust
|
termux_setup_rust
|
||||||
cargo build --release
|
cargo build --target=$TERMUX_HOST_PLATFORM --release
|
||||||
install -Dm600 -t $TERMUX_PREFIX/lib target/release/libtergent.so
|
install -Dm600 -t $TERMUX_PREFIX/lib target/release/libtergent.so
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user