Skip to content

Commit d84a2c8

Browse files
Update __init__.py
1 parent 874b8e6 commit d84a2c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/recipes/python3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def build_arch(self, arch):
7070
android_host = arch.command_prefix
7171
android_build = sh.Command(join(recipe_build_dir, 'config.guess'))().stdout.strip().decode('utf-8')
7272
platform_dir = join(self.ctx.ndk_dir, 'platforms', platform_name, arch.platform_dir)
73-
toolchain = '{android_host}-4.9'.format(android_host=android_host)
73+
toolchain = '{android_host}-4.9'.format(android_host=arch.toolchain_prefix)
7474
toolchain = join(self.ctx.ndk_dir, 'toolchains', toolchain, 'prebuilt', 'linux-x86_64')
7575

7676
target_data = arch.command_prefix.split('-')

0 commit comments

Comments
 (0)