diff options
Diffstat (limited to 'extra/ssmtp/opessl_crypto.patch')
-rw-r--r-- | extra/ssmtp/opessl_crypto.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/extra/ssmtp/opessl_crypto.patch b/extra/ssmtp/opessl_crypto.patch new file mode 100644 index 000000000..e3055b2e7 --- /dev/null +++ b/extra/ssmtp/opessl_crypto.patch @@ -0,0 +1,21 @@ +Fix linking error: + +Undefined symbols: + "_X509_free", referenced from: + _smtp_open in ssmtp.o +ld: symbol(s) not found + + +Index: ssmtp-2.64/configure.in +=================================================================== +--- ssmtp-2.64.orig/configure.in ++++ ssmtp-2.64/configure.in +@@ -52,7 +52,7 @@ AC_ARG_ENABLE(ssl, + [ --enable-ssl support for secure connection to mail server]) + if test x$enableval = xyes ; then + AC_DEFINE(HAVE_SSL) +- LIBS="$LIBS -lssl" ++ LIBS="$LIBS -lssl -lcrypto" + fi + enableval="" + |