Link to execinfo
on NetBSD
This commit is contained in:
parent
18f20439dd
commit
e95caa7b72
1 changed files with 4 additions and 1 deletions
|
@ -251,8 +251,11 @@ fn main() {
|
|||
} else if target.contains("windows-gnu") {
|
||||
println!("cargo:rustc-link-lib=shell32");
|
||||
println!("cargo:rustc-link-lib=uuid");
|
||||
} else if target.contains("netbsd") || target.contains("haiku") || target.contains("darwin") {
|
||||
} else if target.contains("haiku") || target.contains("darwin") {
|
||||
println!("cargo:rustc-link-lib=z");
|
||||
} else if target.contains("netbsd") {
|
||||
println!("cargo:rustc-link-lib=z");
|
||||
println!("cargo:rustc-link-lib=execinfo");
|
||||
}
|
||||
cmd.args(&components);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue