Skip to content

Commit

Permalink
try to link with -lcrypt32
Browse files Browse the repository at this point in the history
  • Loading branch information
amousset committed Dec 4, 2023
1 parent 80817ae commit 3204fd0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,11 @@ impl Build {
}

let libs = if target.contains("msvc") {
vec!["libssl".to_string(), "libcrypto".to_string()]
vec![
"libssl".to_string(),
"libcrypto".to_string(),
"libcrypt32".to_string(),
]
} else {
vec!["ssl".to_string(), "crypto".to_string()]
};
Expand Down

0 comments on commit 3204fd0

Please sign in to comment.