Skip to content

Commit f1dca1d

Browse files
committed
Fix ending up with an empty modules directory (due to hardcoding) when arch is other than armeabi-v7a
1 parent 178d552 commit f1dca1d

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)