Skip to content

Commit 5ba9049

Browse files
Update __init__.py
1 parent 547ee18 commit 5ba9049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pythonforandroid/recipes/python3/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ def build_arch(self, arch):
7474
toolchain = join(self.ctx.ndk_dir, 'toolchains', toolchain, 'prebuilt', 'linux-x86_64')
7575

7676
target_data = arch.command_prefix.split('-')
77-
if targetData[0] == 'arm':
78-
targetData[0] = 'armv7a'
79-
target = '-'.join([targetData[0], 'none', targetData[1], targetData[2]])
77+
if target_data[0] == 'arm':
78+
target_data[0] = 'armv7a'
79+
target = '-'.join([target_data[0], 'none', target_data[1], target_data[2]])
8080

8181
CC = '{clang} -target {target} -gcc-toolchain {toolchain}'.format(
8282
clang=join(self.ctx.ndk_dir, 'toolchains', 'llvm', 'prebuilt', 'linux-x86_64', 'bin', 'clang'),

0 commit comments

Comments
 (0)