mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-23 21:23:20 +00:00
DNS functions are in libresolv on Solaris, just like on MacOS
This commit is contained in:
parent
b80e946101
commit
ea23e50fcb
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user