diff --git a/README.md b/README.md index 97ca129..3ae3490 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,8 @@ Run build script under linux build-all.sh\ For build web page need install npm and yarn\ For instal yarn: _npm i -g yarn_ after install npm\ 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: diff --git a/build-all.sh b/build-all.sh index 3ef5369..fbc4d7e 100755 --- a/build-all.sh +++ b/build-all.sh @@ -90,7 +90,7 @@ declare -a COMPILERS=( "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