diff options
author | Dan Albert <danalbert@google.com> | 2019-09-20 14:47:50 -0700 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2019-09-20 14:47:50 -0700 |
commit | 6f40a53b210eb1743939972b8a7dbdccb606f1f3 (patch) | |
tree | 396f3f94bfe3069ebae259c0d3d2817f8bf11c05 | |
parent | bd24d23f081feb4eb1438c56ace4ae91778ae6be (diff) | |
download | binutils-6f40a53b210eb1743939972b8a7dbdccb606f1f3.tar.gz |
Fix bug for copying winpthread on Windows.ndk-r21endk-r21dndk-r21cndk-r21bndk-r21-rc1ndk-r21-beta2ndk-r21-beta1ndk-r21ndk-release-r21llvm-r365631
This was broken when I changed this API. ld can't be run from the
arch-specific bin directory because this is missing.
Test: Build, check that winpthread is copied
Bug: None
Change-Id: Ia01e88624b0e66edc5563c931bdfbea174d2a131
-rwxr-xr-x | do_build.py | 2 |
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) |