Skip to content

Commit f2a18a8

Browse files
authored
Merge pull request #1608 from j-devel/fix-modules-empty
Fix getting empty "modules" directory when arch is not armeabi-v7a
2 parents 178d552 + f1dca1d commit f2a18a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pythonforandroid/python.py

100644100755
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,9 @@ def create_python_bundle(self, dirn, arch):
263263
self.get_build_dir(arch.arch),
264264
'android-build',
265265
'build',
266-
'lib.linux{}-arm-{}'.format(
266+
'lib.linux{}-{}-{}'.format(
267267
'2' if self.version[0] == '2' else '',
268+
arch.command_prefix.split('-')[0],
268269
self.major_minor_version_string
269270
))
270271
module_filens = (glob.glob(join(modules_build_dir, '*.so')) +

0 commit comments

Comments
 (0)