Skip to content

Commit c8bff6a

Browse files
TheBrokenRailAndreMiras
authored andcommitted
Allow x86_64 To Build (kivy#1476)
* Update build.py * Use Proper Toolchain
1 parent ad9a6d0 commit c8bff6a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

pythonforandroid/archs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def get_env(self, with_flags_in_cc=True):
176176

177177
class Archx86_64(Arch):
178178
arch = 'x86_64'
179-
toolchain_prefix = 'x86'
179+
toolchain_prefix = 'x86_64'
180180
command_prefix = 'x86_64-linux-android'
181181
platform_dir = 'arch-x86'
182182

pythonforandroid/build.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from pythonforandroid.util import (ensure_dir, current_directory)
1313
from pythonforandroid.logger import (info, warning, error, info_notify,
1414
Err_Fore, info_main, shprint)
15-
from pythonforandroid.archs import ArchARM, ArchARMv7_a, ArchAarch_64, Archx86
15+
from pythonforandroid.archs import ArchARM, ArchARMv7_a, ArchAarch_64, Archx86, Archx86_64
1616
from pythonforandroid.recipe import Recipe
1717

1818
DEFAULT_ANDROID_API = 15
@@ -501,6 +501,7 @@ def __init__(self):
501501
ArchARM(self),
502502
ArchARMv7_a(self),
503503
Archx86(self),
504+
Archx86_64(self),
504505
ArchAarch_64(self),
505506
)
506507

0 commit comments

Comments
 (0)