meh fixed ?

This commit is contained in:
its-pointless 2019-03-24 15:44:34 +11:00 committed by Leonid Pliushch
parent 59625ccecd
commit 849442717d

View File

@ -13,6 +13,7 @@ termux_step_configure() {
# it breaks building rust tools without doing this because it tries to find # it breaks building rust tools without doing this because it tries to find
# ../lib from bin location: # ../lib from bin location:
rustup update
export PATH=$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH export PATH=$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:$PATH
local RUSTC=$(which rustc) local RUSTC=$(which rustc)
@ -40,8 +41,6 @@ termux_step_configure() {
} }
termux_step_make() { termux_step_make() {
# bug workaround with unstable-book-gen
$TERMUX_PKG_SRCDIR/x.py --host $CARGO_TARGET_NAME build cargo
$TERMUX_PKG_SRCDIR/x.py dist \ $TERMUX_PKG_SRCDIR/x.py dist \
--host $CARGO_TARGET_NAME \ --host $CARGO_TARGET_NAME \
--target $CARGO_TARGET_NAME \ --target $CARGO_TARGET_NAME \