DNS functions are in libresolv on Solaris, just like on MacOS

This commit is contained in:
Danek Duvall 2017-07-24 15:57:57 -07:00
parent b80e946101
commit ea23e50fcb

View file

@ -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");