diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-11-18 13:51:21 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-11-18 13:51:21 +0100 |
commit | 4d32d78403f094c50110948e84e32cdcd7bc5bde (patch) | |
tree | fb7394dd6fc9ca62fae893098644fb37efef71c9 | |
parent | 0dd22895006cc59cf4f039523ea2ff95ea5f3144 (diff) | |
download | bin-4d32d78403f094c50110948e84e32cdcd7bc5bde.zip bin-4d32d78403f094c50110948e84e32cdcd7bc5bde.tar.gz |
godot-git : set ANDROID_HOME and ANDROID_NDK_ROOT
-rwxr-xr-x | godot-update | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/godot-update b/godot-update index 032cb56..01521a4 100755 --- a/godot-update +++ b/godot-update @@ -41,10 +41,13 @@ function build() time scons -j$J platform=x11 target=$target tools=yes colored=yes pulseaudio=no bits=64 warnings=no # scons -j$J platform=x11 target=$target tools=no colored=yes pulseaudio=no bits=64 warnings=no # scons -j$J platform=x11 target=$target tools=no colored=yes pulseaudio=no bits=32 warnings=no - cp bin/godot*tools* $DST + cp bin/godot*tools* $DST/ if [ $ANDROID -eq 1 ] then + export ANDROID_HOME=/opt/android-sdk + export ANDROID_NDK_ROOT=/opt/android-ndk + [ $CLEAN -eq 1 ] && scons platform=android --clean # https://docs.godotengine.org/en/3.1/development/compiling/compiling_for_android.html ndk_platform=android-29 |