Remove MSYSTEM environment variable check
This commit is contained in:
parent
59c8a88839
commit
2a5bc20b78
|
|
@ -23,7 +23,7 @@ fn main() {
|
||||||
let libs_env = env::var("OPENSSL_LIBS").ok();
|
let libs_env = env::var("OPENSSL_LIBS").ok();
|
||||||
let libs = match libs_env {
|
let libs = match libs_env {
|
||||||
Some(ref v) => v.split(":").collect(),
|
Some(ref v) => v.split(":").collect(),
|
||||||
None => if target.contains("windows") && env::var_os("MSYSTEM").is_none() {
|
None => if target.contains("windows") {
|
||||||
vec!("eay32", "ssl32")
|
vec!("eay32", "ssl32")
|
||||||
} else {
|
} else {
|
||||||
vec!("crypto", "ssl")
|
vec!("crypto", "ssl")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue