about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDanek Duvall <danek.duvall@oracle.com>2017-07-24 15:57:57 -0700
committerDanek Duvall <danek.duvall@oracle.com>2017-07-24 15:57:57 -0700
commitea23e50fcb506b076531404172bfcbb74cd20c8c (patch)
treec8a28645da1e7400e05920f01685b219af8f75c1 /src/libstd
parentb80e946101dd49dd1864b6229f9430c55036c7ce (diff)
downloadrust-ea23e50fcb506b076531404172bfcbb74cd20c8c.tar.gz
rust-ea23e50fcb506b076531404172bfcbb74cd20c8c.zip
DNS functions are in libresolv on Solaris, just like on MacOS
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/build.rs1
1 files changed, 1 insertions, 0 deletions
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");