build: remove default NDK, closes #717

This commit is contained in:
Hans-Christoph Steiner 2021-05-12 14:24:05 +02:00
parent 69fcd6a024
commit 9fc2a23713
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
5 changed files with 8 additions and 23 deletions

View file

@ -361,7 +361,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
ndk_path = build.ndk_path()
if build.ndk or (build.buildjni and build.buildjni != ['no']):
if not ndk_path:
logging.critical("Android NDK version '%s' could not be found!" % build.ndk or 'r12b')
logging.critical("Android NDK version '%s' could not be found!" % build.ndk)
logging.critical("Configured versions:")
for k, v in config['ndk_paths'].items():
if k.endswith("_orig"):