Merge pull request #1265 from omnioiot/windows-gnu-build-simpler

Fix static build on windows-gnu targets
This commit is contained in:
Steven Fackler 2020-05-07 19:17:45 -04:00 committed by GitHub
commit fa6df83fd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ fn main() {
Some(ref v) => v.split(":").collect(),
None => match version {
Version::Openssl10x if target.contains("windows") => vec!["ssleay32", "libeay32"],
Version::Openssl11x if target.contains("windows") => vec!["libssl", "libcrypto"],
Version::Openssl11x if target.contains("windows-msvc") => vec!["libssl", "libcrypto"],
_ => vec!["ssl", "crypto"],
},
};