FIN: windows-gnu: statically link gcc_s, pthread with llvm
This commit is contained in:
parent
f3dda17469
commit
8994277657
@ -265,4 +265,8 @@ fn main() {
|
||||
if target.contains("windows") {
|
||||
println!("cargo:rustc-link-lib=ole32");
|
||||
}
|
||||
if target.contains("windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=static-nobundle=gcc_s");
|
||||
println!("cargo:rustc-link-lib=static-nobundle=pthread");
|
||||
}
|
||||
}
|
||||
|
@ -29,6 +29,7 @@
|
||||
#![feature(link_args)]
|
||||
#![feature(staged_api)]
|
||||
#![feature(rustc_private)]
|
||||
#![feature(static_nobundle)]
|
||||
|
||||
extern crate libc;
|
||||
#[macro_use]
|
||||
|
Loading…
x
Reference in New Issue
Block a user