Skip to content

Commit ea23e50

Browse files
author
Danek Duvall
committed
DNS functions are in libresolv on Solaris, just like on MacOS
1 parent b80e946 commit ea23e50

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libstd/build.rs

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ fn main() {
4545
println!("cargo:rustc-link-lib=socket");
4646
println!("cargo:rustc-link-lib=posix4");
4747
println!("cargo:rustc-link-lib=pthread");
48+
println!("cargo:rustc-link-lib=resolv");
4849
} else if target.contains("apple-darwin") {
4950
println!("cargo:rustc-link-lib=System");
5051

0 commit comments

Comments
 (0)