Magellan Linux

Annotation of /trunk/ssmtp/patches/ssmtp-2.64-openssl.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1626 - (hide annotations) (download)
Fri Jan 20 12:50:49 2012 UTC (12 years, 5 months ago) by niro
File size: 525 byte(s)
-added patch to fix linking
1 niro 1626 Fix linking error:
2    
3     Undefined symbols:
4     "_X509_free", referenced from:
5     _smtp_open in ssmtp.o
6     ld: symbol(s) not found
7    
8    
9     Index: ssmtp-2.64/configure.in
10     ===================================================================
11     --- ssmtp-2.64.orig/configure.in
12     +++ ssmtp-2.64/configure.in
13     @@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl,
14     [ --enable-ssl support for secure connection to mail server])
15     if test x$enableval = xyes ; then
16     AC_DEFINE(HAVE_SSL)
17     - LIBS="$LIBS -lssl"
18     + LIBS="$LIBS -lssl -lcrypto"
19     fi
20     enableval=""
21