mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
fix: create symbolic link for sdk in ndk-make.sh
This commit is contained in:
@@ -22,8 +22,7 @@ pushd "$repo"
|
||||
"$rustup/rustup-init.sh" -y --default-toolchain $(cat scripts/rust-toolchain) --target $target
|
||||
source "$HOME/.cargo/env"
|
||||
export PATH="$PATH:$NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/"
|
||||
ln -s "$NDK" android-ndk
|
||||
export ANDROID_NDK_ROOT="$PWD/android-ndk"
|
||||
export ANDROID_NDK_ROOT="$NDK"
|
||||
scripts/ndk-make.sh $arch
|
||||
|
||||
popd
|
||||
|
||||
@@ -49,6 +49,9 @@ if test -z "$ANDROID_NDK_ROOT"; then
|
||||
echo "ANDROID_NDK_ROOT is not set"
|
||||
exit 1
|
||||
fi
|
||||
rm -f android-ndk-root
|
||||
ln -s "$ANDROID_NDK_ROOT" android-ndk-root
|
||||
ANDROID_NDK_ROOT="$PWD/android-ndk-root"
|
||||
|
||||
echo Setting CARGO_TARGET environment variables.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user