11 lines
433 B
Bash
Executable File
11 lines
433 B
Bash
Executable File
#!/bin/bash
|
|
|
|
sudo apt-get install bison gcc make curl ninja-build -y
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
|
|
echo "source \$HOME/.cargo/env" >>$HOME/.bashrc && source $HOME/.cargo/env
|
|
|
|
git submodule update --init --recursive
|
|
cd ss-rust/src/main/rust/shadowsocks-rust
|
|
rustup target install armv7-linux-androideabi aarch64-linux-android i686-linux-android x86_64-linux-android
|