From 62b211990fde80f0dca69b0591e3642dad3b841e Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Fri, 3 May 2019 18:44:53 -0700 Subject: [PATCH] Revert "fix build err for taget `*-pc-windows-gnu`" --- openssl-sys/build/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openssl-sys/build/main.rs b/openssl-sys/build/main.rs index 04e2da3bf..a1677a699 100644 --- a/openssl-sys/build/main.rs +++ b/openssl-sys/build/main.rs @@ -73,8 +73,8 @@ fn main() { let libs = match libs_env.as_ref().and_then(|s| s.to_str()) { Some(ref v) => v.split(":").collect(), None => match version { - Version::Openssl10x if target.contains("windows-msvc") => vec!["ssleay32", "libeay32"], - Version::Openssl11x if target.contains("windows-msvc") => vec!["libssl", "libcrypto"], + Version::Openssl10x if target.contains("windows") => vec!["ssleay32", "libeay32"], + Version::Openssl11x if target.contains("windows") => vec!["libssl", "libcrypto"], _ => vec!["ssl", "crypto"], }, }; -- GitLab