Skip to content

Commit

Permalink
Update build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
DianQK committed Nov 4, 2023
1 parent a164380 commit 9752660
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions ruslin-data-uniffi/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@

set -e

# https://github.com/godot-rust/gdnative/pull/920/files

export ANDROID_HOME=$HOME/Android/Sdk
export ANDROID_NDK_VERSION=25.2.9519653

export ANDROID_NDK_TOOLCHAIN_BIN=$ANDROID_HOME/ndk/$ANDROID_NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/bin

export RUSTFLAGS="--cfg uuid_unstable"
export ANDROID_NDK_TOOLCHAIN_BIN=$ANDROID_HOME/ndk/$NDK_VERSION/toolchains/llvm/prebuilt/linux-x86_64/bin
export AR=$ANDROID_NDK_TOOLCHAIN_BIN/llvm-ar

# export CC=$ANDROID_NDK_TOOLCHAIN_BIN/armv7a-linux-androideabi28-clang
Expand Down

0 comments on commit 9752660

Please sign in to comment.