mirror of
https://github.com/Relintai/godot-mono-builds.git
synced 2024-11-14 10:27:25 +01:00
Merge pull request #13 from akien-mga/android-python3-make-standalone-toolchain
Android: Force using python3 for `make_standalone_toolchain.py`
This commit is contained in:
commit
d73d810ba1
@ -415,9 +415,9 @@ def make_standalone_toolchain(opts: AndroidOpts, target: str, api: str):
|
|||||||
if os.path.isdir(path_join(install_dir, 'bin')):
|
if os.path.isdir(path_join(install_dir, 'bin')):
|
||||||
return # Looks like it's already there, so no need to re-create it
|
return # Looks like it's already there, so no need to re-create it
|
||||||
command = path_join(opts.android_ndk_root, 'build', 'tools', 'make_standalone_toolchain.py')
|
command = path_join(opts.android_ndk_root, 'build', 'tools', 'make_standalone_toolchain.py')
|
||||||
args = ['--verbose', '--force', '--api=' + api, '--arch=' + AndroidTargetTable.archs[target],
|
args = [command, '--verbose', '--force', '--api=' + api, '--arch=' + AndroidTargetTable.archs[target],
|
||||||
'--install-dir=' + install_dir]
|
'--install-dir=' + install_dir]
|
||||||
run_command(command, args=args, name='make_standalone_toolchain')
|
run_command('python3', args=args, name='make_standalone_toolchain')
|
||||||
|
|
||||||
|
|
||||||
def strip_libs(opts: AndroidOpts, product: str, target: str, api: str):
|
def strip_libs(opts: AndroidOpts, product: str, target: str, api: str):
|
||||||
|
Loading…
Reference in New Issue
Block a user