Allow for manual native code building

This commit is contained in:
Ciaran Gultnieks 2012-02-24 07:42:49 +00:00
parent 479362aa55
commit ce1deec8dd
3 changed files with 17 additions and 5 deletions

View file

@ -954,7 +954,7 @@ def scan_source(build_dir, root_dir, thisbuild):
# Presence of a jni directory without buildjni=yes might
# indicate a problem...
if (os.path.exists(os.path.join(root_dir, 'jni')) and
thisbuild.get('buildjni', 'no') != 'yes'):
thisbuild.get('buildjni', 'no') == 'no'):
msg = 'Found jni directory, but buildjni is not enabled'
problems.append(msg)