Unverified Commit fa6df83f authored by Steven Fackler's avatar Steven Fackler Committed by GitHub
Browse files

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

Fix static build on windows-gnu targets
parents e446d819 dd8e53cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"],
        },
    };