Merge pull request #1265 from omnioiot/windows-gnu-build-simpler
Fix static build on windows-gnu targets
This commit is contained in:
commit
fa6df83fd3
|
|
@ -86,7 +86,7 @@ fn main() {
|
||||||
Some(ref v) => v.split(":").collect(),
|
Some(ref v) => v.split(":").collect(),
|
||||||
None => match version {
|
None => match version {
|
||||||
Version::Openssl10x if target.contains("windows") => vec!["ssleay32", "libeay32"],
|
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"],
|
_ => vec!["ssl", "crypto"],
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue