File: 20no-stray-libz-link.patch

package info (click to toggle)
libnet-ssleay-perl 1.94-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,236 kB
  • sloc: ansic: 6,661; perl: 3,924; makefile: 3
file content (19 lines) | stat: -rw-r--r-- 615 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From: intrigeri <intrigeri@boum.org>
Date: Fri, 19 Jul 2019 00:31:20 +0000
Subject: Avoid unnecessary dependency on libz

---
 Makefile.PL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -319,7 +319,7 @@
         @{ $opts->{lib_links} } = map { $_ =~ s/32\b//g } @{ $opts->{lib_links} } if $Config{use64bitall};
     }
     else {
-        push @{ $opts->{lib_links} }, qw( ssl crypto z );
+        push @{ $opts->{lib_links} }, qw( ssl crypto );
 
         if (($Config{cc} =~ /aCC/i) && $^O eq 'hpux') {
             print "*** Enabling HPUX aCC options (+e)\n";