aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuild-gcc.sh2
-rwxr-xr-xbuild.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/build-gcc.sh b/build-gcc.sh
index 56b783109..1768a0131 100755
--- a/build-gcc.sh
+++ b/build-gcc.sh
@@ -19,7 +19,7 @@
#
# include common function and variable definitions
-. $ANDROID_NDK_ROOT/build/tools/prebuilt-common.sh
+. $NDK_BUILDTOOLS_PATH/prebuilt-common.sh
PROGRAM_PARAMETERS="<src-dir> <ndk-dir> <toolchain>"
diff --git a/build.py b/build.py
index 769a3707f..4cff80a50 100755
--- a/build.py
+++ b/build.py
@@ -116,7 +116,7 @@ def main():
if host is None:
host = get_default_host()
- ndk_build_tools_path = android_path('prebuilts/ndk/current/build/tools')
+ ndk_build_tools_path = android_path('ndk/build/tools')
build_env = dict(os.environ)
build_env['NDK_BUILDTOOLS_PATH'] = ndk_build_tools_path
build_env['ANDROID_NDK_ROOT'] = ndk_path