We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
execinfo
1 parent 18f2043 commit e95caa7Copy full SHA for e95caa7
compiler/rustc_llvm/build.rs
@@ -251,8 +251,11 @@ fn main() {
251
} else if target.contains("windows-gnu") {
252
println!("cargo:rustc-link-lib=shell32");
253
println!("cargo:rustc-link-lib=uuid");
254
- } else if target.contains("netbsd") || target.contains("haiku") || target.contains("darwin") {
+ } else if target.contains("haiku") || target.contains("darwin") {
255
println!("cargo:rustc-link-lib=z");
256
+ } else if target.contains("netbsd") {
257
+ println!("cargo:rustc-link-lib=z");
258
+ println!("cargo:rustc-link-lib=execinfo");
259
}
260
cmd.args(&components);
261
0 commit comments