]> git.lizzy.rs Git - rust.git/commit
windows: Copy libwinpthread-1.dll into libdir bin
authorAlex Crichton <alex@alexcrichton.com>
Thu, 27 Apr 2017 01:35:01 +0000 (18:35 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 27 Apr 2017 01:35:01 +0000 (18:35 -0700)
commit929124fa3c7dd9c72307561112723d4f2c48a287
tree7a01d51f89409cdb978e6fb088450a31b537219a
parent036983201d4e9aeb5c5e56e47c305971972b2569
windows: Copy libwinpthread-1.dll into libdir bin

Recently we switched from the win32 MinGW toolchain to the pthreads-based
toolchain. We ship `gcc.exe` from this toolchain with the `rust-mingw` package
in the standard distribution but the pthreads version of `gcc.exe` depends on
`libwinpthread-1.dll`. While we're shipping this DLL for the compiler to depend
on we're not shipping it for gcc. As a workaround just copy the dll to gcc.exe
location and don't attempt to share for now.

cc https://github.com/rust-lang/rust/issues/31840#issuecomment-297478538
src/etc/make-win-dist.py