change path to ndk

This commit is contained in:
YouROK
2022-03-03 21:32:25 +03:00
parent 37fea8e2b4
commit 8f51458f55
2 changed files with 3 additions and 2 deletions

View File

@@ -20,7 +20,8 @@ Run build script under linux build-all.sh\
For build web page need install npm and yarn\ For build web page need install npm and yarn\
For instal yarn: _npm i -g yarn_ after install npm\ For instal yarn: _npm i -g yarn_ after install npm\
For build android server need android toolchain\ For build android server need android toolchain\
Download android ndk and copy android-ndk-XXX/toolchains/llvm/prebuilt/linux-x86_64 dir to source, rename it to toolchain Download android ndk and change NDK_TOOLCHAIN in build.sh to\
path/to/Android/sdk/ndk/ver/toolchains/llvm/prebuilt/platform
# #
### Server args: ### Server args:

View File

@@ -90,7 +90,7 @@ declare -a COMPILERS=(
"amd64:x86_64-linux-android21-clang" "amd64:x86_64-linux-android21-clang"
) )
export NDK_TOOLCHAIN=$ROOT/toolchain export NDK_TOOLCHAIN=/Users/yourok/Library/Android/sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/darwin-x86_64
GOOS=android GOOS=android