Subject: | Improved OpenSSL detection on Win32/strawberry perl |
Hi,
could you please consider the enclosed patch for Makefile.PL that
improves autodetection of openssl installation on Win32?
This patch is focused on Win32/strawberry as we are about to add openssl
support to the next (October2009) strawberry release (openssl will be
installed directly with strawberry).
The patch is purely about openssl detection - the module itself works
nice even now.
Thanks.
--
kmx
Subject: | cryptssleay.diff |
--- perl-modules\Crypt-SSLeay-0.57_01/Makefile.PL 2008-02-18 14:39:06.000000000 +0100
+++ perl-modules-patched\Crypt-SSLeay-0.57_01/Makefile.PL 2009-08-31 15:48:36.379715800 +0200
@@ -29,7 +29,9 @@
$opt_default = 1;
}
elsif ($^O eq 'MSWin32') {
- @POSSIBLE_SSL_DIRS = 'c:\\openssl';
+ push @POSSIBLE_SSL_DIRS, 'c:\\openssl';
+ push @POSSIBLE_SSL_DIRS, $Config{prefix}, # strawberry perl
+ push @POSSIBLE_SSL_DIRS, $Config{prefix}.'\..\c', # strawberry perl
}
elsif ($^O eq 'VMS') {
@POSSIBLE_SSL_DIRS = '/ssl$root';