diff options
-rw-r--r-- | android-ndk-27.install | 6 | ||||
-rw-r--r-- | android-ndk.sh | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/android-ndk-27.install b/android-ndk-27.install new file mode 100644 index 000000000000..9d5e400344f0 --- /dev/null +++ b/android-ndk-27.install @@ -0,0 +1,6 @@ +post_install() { + echo 'Source /etc/profile.d/android-ndk.sh or login again to add the' + echo 'Android NDK tools to your path.' +} + +# vim:set ts=2 sw=2 et: diff --git a/android-ndk.sh b/android-ndk.sh new file mode 100644 index 000000000000..00ad3be59f8c --- /dev/null +++ b/android-ndk.sh @@ -0,0 +1,6 @@ +export PATH="$PATH:/opt/android-ndk" +export ANDROID_NDK=/opt/android-ndk +# Some programs such as gradle ask this as well: +export ANDROID_NDK_HOME=/opt/android-ndk +# Some other programs like Godot wants this: +export ANDROID_NDK_ROOT=/opt/android-ndk |