Set up the ndk in $PATH before each build

This commit is contained in:
Daniel Martí 2015-01-06 19:41:55 +01:00
parent 9b200f47d8
commit 6819e3c30e
2 changed files with 21 additions and 1 deletions

View file

@ -468,6 +468,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
for n in ['ANDROID_NDK', 'NDK']:
common.env[n] = thisbuild['ndk_path']
common.reset_env_path()
# Set up the current NDK to the PATH
common.add_to_env_path(thisbuild['ndk_path'])
# Prepare the source code...
root_dir, srclibpaths = common.prepare_source(vcs, app, thisbuild,
build_dir, srclib_dir,