Fix: "warning: redundant linker flag specified for library ole32
"
llvm-config seems to output this library name correctly now, removing the need for the hack in "librustc_llvm/build.rs".
This commit is contained in:
parent
0bd9e1f5e6
commit
2e0043ad61
|
@ -273,11 +273,8 @@ fn main() {
|
|||
}
|
||||
}
|
||||
|
||||
// LLVM requires symbols from this library, but apparently they're not printeds
|
||||
// LLVM requires symbols from this library, but apparently they're not printed
|
||||
// during llvm-config?
|
||||
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");
|
||||
|
|
Loading…
Reference in a new issue