We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f3f8e75 + 956fd10 commit 9391d55Copy full SHA for 9391d55
compiler/rustc_llvm/build.rs
@@ -182,7 +182,7 @@ fn main() {
182
} else if target.contains("windows-gnu") {
183
println!("cargo:rustc-link-lib=shell32");
184
println!("cargo:rustc-link-lib=uuid");
185
- } else if target.contains("netbsd") || target.contains("haiku") {
+ } else if target.contains("netbsd") || target.contains("haiku") || target.contains("darwin") {
186
println!("cargo:rustc-link-lib=z");
187
}
188
cmd.args(&components);
0 commit comments