Prefer 1.1 when looking for Homebrew installs
This commit is contained in:
parent
55b960fb92
commit
ba997c590e
|
|
@ -52,11 +52,11 @@ fn find_openssl_dir(target: &str) -> OsString {
|
|||
let host = env::var("HOST").unwrap();
|
||||
|
||||
if host.contains("apple-darwin") && target.contains("apple-darwin") {
|
||||
let homebrew = Path::new("/usr/local/opt/openssl");
|
||||
let homebrew = Path::new("/usr/local/opt/openssl@1.1");
|
||||
if homebrew.exists() {
|
||||
return homebrew.to_path_buf().into()
|
||||
}
|
||||
let homebrew = Path::new("/usr/local/opt/openssl@1.1");
|
||||
let homebrew = Path::new("/usr/local/opt/openssl");
|
||||
if homebrew.exists() {
|
||||
return homebrew.to_path_buf().into()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue