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