File: Makefile.PL-no-ssl-in-LIBS.patch

package info (click to toggle)
libcrypt-openssl-rsa-perl 0.28-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 192 kB
  • ctags: 2
  • sloc: perl: 11; makefile: 3
file content (18 lines) | stat: -rw-r--r-- 609 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: don't compile with -lssl
Origin: vendor
Forwarded: not-needed
Author: Damyan Ivanov <dmn@debian.org>
Reviewed-by: Salvatore Bonaccorso <carnil@debian.org>
Last-Update: 2011-08-25

--- a/Makefile.PL
+++ b/Makefile.PL
@@ -19,7 +19,7 @@
         'Test' => 0,
     },
     'OBJECT' => 'RSA.o',
-    'LIBS'    => ($^O eq 'MSWin32') ? ['-lssl32 -leay32'] : ['-lssl -lcrypto'],
+    'LIBS'	=> ['-lcrypto'],   # e.g., '-lm'
     'DEFINE'	=> '-DPERL5 -DOPENSSL_NO_KRB5',
     # perl-5.8/gcc-3.2 needs -DPERL5, and redhat9 likes -DOPENSSL_NO_KRB5
     'INC'	=> $include,     # e.g., '-I/usr/include/other'