diff options
| author | Steven Fackler <[email protected]> | 2016-10-14 22:55:14 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2016-10-14 22:55:44 -0700 |
| commit | ba997c590e38104373e7430cf80dc1f56d6749a6 (patch) | |
| tree | 032c7c4790726cf6efd368c7d519841b2e09afdc /openssl-sys/build.rs | |
| parent | Merge pull request #473 from sfackler/arm-build-only (diff) | |
| download | rust-openssl-ba997c590e38104373e7430cf80dc1f56d6749a6.tar.xz rust-openssl-ba997c590e38104373e7430cf80dc1f56d6749a6.zip | |
Prefer 1.1 when looking for Homebrew installs
Diffstat (limited to 'openssl-sys/build.rs')
| -rw-r--r-- | openssl-sys/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl-sys/build.rs b/openssl-sys/build.rs index b6540368..5a009204 100644 --- a/openssl-sys/build.rs +++ b/openssl-sys/build.rs @@ -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/[email protected]"); if homebrew.exists() { return homebrew.to_path_buf().into() } - let homebrew = Path::new("/usr/local/opt/[email protected]"); + let homebrew = Path::new("/usr/local/opt/openssl"); if homebrew.exists() { return homebrew.to_path_buf().into() } |