Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ print "OpenSSL version: $major.$minor $patch", "\n";
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my $libs = ' -lssl -lcrypto';
my $libs = ' -lcrypto';
if ( $Config{osname} eq 'aix' ) {
$libs = $libs . ' -lz';
}
Expand Down
1 change: 0 additions & 1 deletion RSA.xs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#endif
#include <openssl/rsa.h>
#include <openssl/sha.h>
#include <openssl/ssl.h>
#include <openssl/evp.h>
#if OPENSSL_VERSION_NUMBER >= 0x30000000L
#include <openssl/core_names.h>
Expand Down
6 changes: 3 additions & 3 deletions hints/MSWin32.pl
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use Config;
use Crypt::OpenSSL::Guess 0.11 qw(openssl_lib_paths);
if (my $libs = `pkg-config --libs libssl libcrypto 2>nul`) {
if (my $libs = `pkg-config --libs libcrypto 2>nul`) {
# strawberry perl has pkg-config
$self->{LIBS} = [openssl_lib_paths() . " $libs"];
}
else {
$self->{LIBS} = [openssl_lib_paths() . '-lssleay32 -llibeay32'] if $Config{cc} =~ /cl/; # msvc with ActivePerl
$self->{LIBS} = [openssl_lib_paths() . '-lssl32 -leay32'] if $Config{gccversion}; # gcc
$self->{LIBS} = [openssl_lib_paths() . '-llibeay32'] if $Config{cc} =~ /cl/; # msvc with ActivePerl
$self->{LIBS} = [openssl_lib_paths() . '-leay32'] if $Config{gccversion}; # gcc
}
Loading