We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e68cf8 commit a32e340Copy full SHA for a32e340
src/librustc_target/spec/windows_base.rs
@@ -57,9 +57,9 @@ pub fn opts() -> TargetOptions {
57
// binaries to be redistributed without the libgcc_s-dw2-1.dll
58
// dependency, but unfortunately break unwinding across DLL
59
// boundaries when unwinding across FFI boundaries.
60
- "-lgcc".to_string(),
61
"-lgcc_eh".to_string(),
62
- "-lpthread".to_string(),
+ "-l:libpthread.a".to_string(),
+ "-lgcc".to_string(),
63
// libpthread depends on libmsvcrt, so we need to link it *again*.
64
"-lmsvcrt".to_string(),
65
"-lkernel32".to_string(),
0 commit comments