[windows-gnu] Link pthread statically
This commit is contained in:
parent
7e68cf8927
commit
a32e3408bf
1 changed files with 2 additions and 2 deletions
|
|
@ -57,9 +57,9 @@ pub fn opts() -> TargetOptions {
|
|||
// binaries to be redistributed without the libgcc_s-dw2-1.dll
|
||||
// dependency, but unfortunately break unwinding across DLL
|
||||
// boundaries when unwinding across FFI boundaries.
|
||||
"-lgcc".to_string(),
|
||||
"-lgcc_eh".to_string(),
|
||||
"-lpthread".to_string(),
|
||||
"-l:libpthread.a".to_string(),
|
||||
"-lgcc".to_string(),
|
||||
// libpthread depends on libmsvcrt, so we need to link it *again*.
|
||||
"-lmsvcrt".to_string(),
|
||||
"-lkernel32".to_string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue