Cleanup MinGW LLVM linkage workaround
This commit is contained in:
parent
e8ff4bcbd0
commit
8a816cad27
1 changed files with 2 additions and 4 deletions
|
@ -293,11 +293,9 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// LLVM requires symbols from this library, but apparently they're not printed
|
||||
// during llvm-config?
|
||||
// Libstdc++ depends on pthread which Rust doesn't link on MinGW
|
||||
// since nothing else requires it.
|
||||
if target.contains("windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=static-nobundle=gcc_s");
|
||||
println!("cargo:rustc-link-lib=static-nobundle=pthread");
|
||||
println!("cargo:rustc-link-lib=dylib=uuid");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue