DNS functions are in libresolv on Solaris, just like on MacOS
This commit is contained in:
parent
b80e946101
commit
ea23e50fcb
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ fn main() {
|
||||||
println!("cargo:rustc-link-lib=socket");
|
println!("cargo:rustc-link-lib=socket");
|
||||||
println!("cargo:rustc-link-lib=posix4");
|
println!("cargo:rustc-link-lib=posix4");
|
||||||
println!("cargo:rustc-link-lib=pthread");
|
println!("cargo:rustc-link-lib=pthread");
|
||||||
|
println!("cargo:rustc-link-lib=resolv");
|
||||||
} else if target.contains("apple-darwin") {
|
} else if target.contains("apple-darwin") {
|
||||||
println!("cargo:rustc-link-lib=System");
|
println!("cargo:rustc-link-lib=System");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue