Skip to content

Commit

Permalink
Rename ndk version var
Browse files Browse the repository at this point in the history
  • Loading branch information
jarnedemeulemeester committed Jan 1, 2023
1 parent 652799b commit 5759a7f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions buildscripts/include/depinfo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
## Dependency versions

v_sdk=9123335_latest
v_ndk=r25b
v_ndk_n=25.1.8937393
v_ndk=25.1.8937393
v_sdk_build_tools=33.0.1

v_lua=5.2.4
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/include/download-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ sdkmanager () {
echo y | sdkmanager \
"platforms;android-33" \
"build-tools;${v_sdk_build_tools}" \
"ndk;${v_ndk_n}" \
"ndk;${v_ndk}" \
"cmake;3.22.1"

# gas-preprocessor
Expand Down
4 changes: 2 additions & 2 deletions buildscripts/include/path.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ if [ -n "$ndk_triple" ]; then
unset PKG_CONFIG_PATH
fi

toolchain=$(echo "$DIR/sdk/android-sdk-linux/ndk/$v_ndk_n/toolchains/llvm/prebuilt/"*)
export PATH="$toolchain/bin:$DIR/sdk/android-sdk-linux/ndk/$v_ndk_n:$DIR/sdk/bin:$PATH"
toolchain=$(echo "$DIR/sdk/android-sdk-linux/ndk/$v_ndk/toolchains/llvm/prebuilt/"*)
export PATH="$toolchain/bin:$DIR/sdk/android-sdk-linux/ndk/$v_ndk:$DIR/sdk/bin:$PATH"
export ANDROID_HOME="$DIR/sdk/android-sdk-$os"

0 comments on commit 5759a7f

Please sign in to comment.