mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 15:02:51 +03:00
Fix a buildjni regression
This commit is contained in:
parent
aa4fec9ca1
commit
63d7cbee9f
2 changed files with 2 additions and 2 deletions
|
@ -457,7 +457,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
(app['id'], thisbuild['version']), p.stdout)
|
(app['id'], thisbuild['version']), p.stdout)
|
||||||
|
|
||||||
# Build native stuff if required...
|
# Build native stuff if required...
|
||||||
if thisbuild.get('buildjni') not in (None, 'no'):
|
if thisbuild.get('buildjni') not in (None, ['no']):
|
||||||
logging.info("Building native libraries...")
|
logging.info("Building native libraries...")
|
||||||
jni_components = thisbuild.get('buildjni')
|
jni_components = thisbuild.get('buildjni')
|
||||||
if jni_components == ['yes']:
|
if jni_components == ['yes']:
|
||||||
|
|
|
@ -286,7 +286,7 @@ def main():
|
||||||
if options.subdir:
|
if options.subdir:
|
||||||
build['subdir'] = options.subdir
|
build['subdir'] = options.subdir
|
||||||
if os.path.exists(os.path.join(root_dir, 'jni')):
|
if os.path.exists(os.path.join(root_dir, 'jni')):
|
||||||
build['buildjni'] = 'yes'
|
build['buildjni'] = ['yes']
|
||||||
app['builds'].append(build)
|
app['builds'].append(build)
|
||||||
|
|
||||||
# Keep the repo directory to save bandwidth...
|
# Keep the repo directory to save bandwidth...
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue