We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80817ae commit 21c2dadCopy full SHA for 21c2dad
src/lib.rs
@@ -686,8 +686,9 @@ impl Artifacts {
686
}
687
println!("cargo:include={}", self.include_dir.display());
688
println!("cargo:lib={}", self.lib_dir.display());
689
- if self.target.contains("msvc") {
+ if self.target.contains("windows") {
690
println!("cargo:rustc-link-lib=user32");
691
+ println!("cargo:rustc-link-lib=crypt32");
692
} else if self.target == "wasm32-wasi" {
693
println!("cargo:rustc-link-lib=wasi-emulated-signal");
694
println!("cargo:rustc-link-lib=wasi-emulated-process-clocks");
0 commit comments