Skip to content

Commit

Permalink
Check for bin/openssl in $Config{prefix} as well (radiator-software#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnovakovic committed Mar 30, 2022
2 parents 0cb0ca7 + 92a7946 commit 9564494
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ Revision history for Perl extension Net::SSLeay.
Clang 12 or greater. Partially fixes GH-383.
- Silence compound-token-split-by-macro warnings when building Net-SSLeay with
Clang 12 or greater. Fixes the remainder of GH-383.
- When building Net-SSLeay, search for the openssl binary in the same directory
in which Perl is installed (i.e. $Config{prefix}/bin/). Thanks to Henrik
Grimler for the patch.

1.93_01 2022-03-20
- LibreSSL 3.5.0 has removed access to internal data
Expand Down
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ sub find_openssl_prefix {
'/ssl111$exe/openssl.exe' => '/ssl111$root',# VMS, VSI install
'/ssl1$exe/openssl.exe' => '/ssl1$root',# VMS, VSI or HPE install
'/ssl$exe/openssl.exe' => '/ssl$root', # VMS, HP install
$Config{prefix} . '/bin/openssl' => $Config{prefix}, # Custom prefix, e.g. Termux
);

while (my $k = shift @guesses
Expand Down

0 comments on commit 9564494

Please sign in to comment.