Skip to content

Commit

Permalink
Symlinking clang necessary for compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Hainish committed Apr 4, 2024
1 parent 257c82f commit 453f924
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build-remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ unzip android-ndk-r26c-linux.zip
cd android-ndk-r26c
export ANDROID_NDK_ROOT="$PWD"
export OLDPATH="$PATH"
export PATH="$PWD/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH"
export NEWPATH="$PWD/toolchains/llvm/prebuilt/linux-x86_64/bin"
export PATH="$NEWPATH:$PATH"
export AR="llvm-ar"
cd $NEWPATH
ln -s armv7a-linux-androideabi26-clang arm-linux-androideabi-clang
ln -s i686-linux-android26-clang i686-linux-android-clang
cd $OPENSSL_DIR
./Configure android-arm64 -D__ANDROID_API__=26
Expand Down

0 comments on commit 453f924

Please sign in to comment.