Skip to content

Commit 3204fd0

Browse files
committed
try to link with -lcrypt32
1 parent 80817ae commit 3204fd0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/lib.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,11 @@ impl Build {
583583
}
584584

585585
let libs = if target.contains("msvc") {
586-
vec!["libssl".to_string(), "libcrypto".to_string()]
586+
vec![
587+
"libssl".to_string(),
588+
"libcrypto".to_string(),
589+
"libcrypt32".to_string(),
590+
]
587591
} else {
588592
vec!["ssl".to_string(), "crypto".to_string()]
589593
};

0 commit comments

Comments
 (0)