Skip to content

Commit 8a516e0

Browse files
Update __init__.py
1 parent 587ef23 commit 8a516e0

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
@@ -67,7 +67,7 @@ def build_arch(self, arch):
6767
env = environ.copy()
6868

6969
# TODO: Get this information from p4a's arch system
70-
android_host = arch.toolchain_prefix
70+
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)
7373
toolchain = '{android_host}-4.9'.format(android_host=android_host)

0 commit comments

Comments
 (0)