diff --git a/Makefile.PL b/Makefile.PL index 6d7ceba..31d9c74 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -200,17 +200,11 @@ EOM @{ $opts->{lib_links} } = map { $_ =~ s/32\b//g } @{ $opts->{lib_links} } if $Config{use64bitall}; } else { - my $libsflags = `pkg-config --libs-only-l openssl`; - if ( $libsflags ne '' ) { - push @{ $opts->{lib_links} }, map { s/^-l//; $_ } split(' ', $libsflags); - } - else { - push @{ $opts->{lib_links} }, - ($rsaref - ? qw( ssl crypto RSAglue rsaref z ) - : qw( ssl crypto z ) - ); - } + push @{ $opts->{lib_links} }, + ($rsaref + ? qw( ssl crypto RSAglue rsaref z ) + : qw( ssl crypto z ) + ); if (($Config{cc} =~ /aCC/i) && $^O eq 'hpux') { print "*** Enabling HPUX aCC options (+e)\n";