1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

Don't crash if no suitable NDK is found

This commit is contained in:
Daniel Martí 2015-01-04 01:45:52 +01:00
parent 526813eae6
commit d5af8ec8e6

View File

@ -466,7 +466,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
# Set up environment vars that depend on each build
for n in ['ANDROID_NDK', 'NDK']:
common.env[n] = thisbuild['ndk_path']
common.env[n] = thisbuild['ndk_path'] or ''
# Prepare the source code...
root_dir, srclibpaths = common.prepare_source(vcs, app, thisbuild,