Merge pull request #969 from misl6/fix-add-libs-only-current-arch

Add libs only for current arch
This commit is contained in:
Alexander Taylor 2019-10-23 18:50:01 +01:00 committed by GitHub
commit bc11bd6066
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1003,6 +1003,8 @@ class TargetAndroid(Target):
patterns = config.getlist('app', config_key, []) patterns = config.getlist('app', config_key, [])
if not patterns: if not patterns:
continue continue
if self._arch != lib_dir:
continue
self.buildozer.debug('Search and copy libs for {}'.format(lib_dir)) self.buildozer.debug('Search and copy libs for {}'.format(lib_dir))
for fn in self.buildozer.file_matches(patterns): for fn in self.buildozer.file_matches(patterns):