Rollup merge of #43462 - dhduvall:solaris-libresolv, r=aturon

DNS functions are in libresolv on Solaris, just like on MacOS
This commit is contained in:
Mark Simulacrum 2017-07-26 06:15:05 -06:00 committed by GitHub
commit 9d02019f8f

View file

@ -45,6 +45,7 @@ fn main() {
println!("cargo:rustc-link-lib=socket");
println!("cargo:rustc-link-lib=posix4");
println!("cargo:rustc-link-lib=pthread");
println!("cargo:rustc-link-lib=resolv");
} else if target.contains("apple-darwin") {
println!("cargo:rustc-link-lib=System");