summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdo_build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/do_build.py b/do_build.py
index 96033ec6..7c58bd4d 100755
--- a/do_build.py
+++ b/do_build.py
@@ -165,7 +165,7 @@ def install(jobs, arch, host, install_dir):
"""Installs binutils."""
check_call(['make', 'install-strip', '-j', str(jobs)])
- if host in ('win', 'win64'):
+ if host.is_windows:
arch_install_dir = os.path.join(
install_dir, ndk.abis.arch_to_triple(arch))
install_winpthreads(host == 'win', install_dir)