mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
std: Link UWP with allowed libraries only
This commit is contained in:
parent
ce315cd2fe
commit
3becaf4b9b
@ -39,6 +39,8 @@ fn main() {
|
||||
println!("cargo:rustc-link-lib=framework=Security");
|
||||
println!("cargo:rustc-link-lib=framework=Foundation");
|
||||
println!("cargo:rustc-link-lib=resolv");
|
||||
} else if target.contains("uwp") {
|
||||
println!("cargo:rustc-link-lib=ws2_32");
|
||||
} else if target.contains("windows") {
|
||||
println!("cargo:rustc-link-lib=advapi32");
|
||||
println!("cargo:rustc-link-lib=ws2_32");
|
||||
|
Loading…
Reference in New Issue
Block a user