From ea23e50fcb506b076531404172bfcbb74cd20c8c Mon Sep 17 00:00:00 2001 From: Danek Duvall Date: Mon, 24 Jul 2017 15:57:57 -0700 Subject: [PATCH] DNS functions are in libresolv on Solaris, just like on MacOS --- src/libstd/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libstd/build.rs b/src/libstd/build.rs index 2abd47ab8df..0b5c2db171d 100644 --- a/src/libstd/build.rs +++ b/src/libstd/build.rs @@ -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");