Skip to content

Commit

Permalink
Add default path for homebrew on macOS ARM systems to Makefile.PL (#292)
Browse files Browse the repository at this point in the history
Fixes #268.
  • Loading branch information
chrisnovakovic committed Sep 12, 2021
2 parents f438d97 + df6596d commit 5056fd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Revision history for Perl extension Net::SSLeay.
- Error code and error string packing and formatting changes.
- See OpenSSL manual page migration_guide(7) for more information about
changes in OpenSSL 3.0.
- Automatically detect OpenSSL installed via Homebrew on ARM-based macOS
systems. Thanks to Graham Knop for the patch.

1.90 2021-01-21
- New stable release incorporating all changes from developer releases
Expand Down
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,7 @@ sub find_openssl_prefix {

my @guesses = (
'/home/linuxbrew/.linuxbrew/opt/openssl/bin/openssl' => '/home/linuxbrew/.linuxbrew/opt/openssl', # LinuxBrew openssl
'/opt/homebrew/opt/openssl/bin/openssl' => '/opt/homebrew/opt/openssl', # macOS ARM homebrew
'/usr/local/opt/openssl/bin/openssl' => '/usr/local/opt/openssl', # OSX homebrew openssl
'/usr/local/bin/openssl' => '/usr/local', # OSX homebrew openssl
'/opt/local/bin/openssl' => '/opt/local', # Macports openssl
Expand Down

0 comments on commit 5056fd0

Please sign in to comment.