mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Oliver Graute <oliver.graute@gmail.com>
To: ptxdist@pengutronix.de
Cc: Oliver Graute <oliver.graute@neuhaus.de>
Subject: [ptxdist] [PATCHv2] ssmtp: bugfix for linking error
Date: Mon, 12 Oct 2015 16:36:21 +0200	[thread overview]
Message-ID: <1444660581-18350-1-git-send-email-oliver.graute@neuhaus.de> (raw)

ssmtp: bugfix for linking error

Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 .../0005-added-lcrypto-in-configure.patch          |   23 ++++++++++++++++++++
 patches/ssmtp-2.64/series                          |    1 +
 2 files changed, 24 insertions(+)
 create mode 100644 patches/ssmtp-2.64/0005-added-lcrypto-in-configure.patch

diff --git a/patches/ssmtp-2.64/0005-added-lcrypto-in-configure.patch b/patches/ssmtp-2.64/0005-added-lcrypto-in-configure.patch
new file mode 100644
index 0000000..ce6369a
--- /dev/null
+++ b/patches/ssmtp-2.64/0005-added-lcrypto-in-configure.patch
@@ -0,0 +1,23 @@
+From: Oliver Graute <oliver.graute@neuhaus.de>
+Date: Mon, 12 Oct 2015 16:11:43 +0200
+Subject: [PATCH] added -lcrypto in configure
+
+ssmtp: bugfix for linking error
+
+---
+ configure |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure b/configure
+index 5b6e2c7..7146fdf 100755
+--- a/configure
++++ b/configure
+@@ -1562,7 +1562,7 @@ if test x$enableval = xyes ; then
+ #define HAVE_SSL 1
+ EOF
+ 
+-	LIBS="$LIBS -lssl"
++	LIBS="$LIBS -lssl -lcrypto"
+ fi
+ enableval=""
+ 
diff --git a/patches/ssmtp-2.64/series b/patches/ssmtp-2.64/series
index b89ac63..9428329 100644
--- a/patches/ssmtp-2.64/series
+++ b/patches/ssmtp-2.64/series
@@ -4,4 +4,5 @@
 0002-use-DESTDIR-when-installing.patch
 0003-make-installing-non-interactive.patch
 0004-configure-if-using-ssl-link-against-libcrypto-too.patch
+0005-added-lcrypto-in-configure.patch
 # 4ac054ecac57de7c903a18a4dfcd2270  - git-ptx-patches magic
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2015-10-12 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1444660581-18350-1-git-send-email-oliver.graute@neuhaus.de \
    --to=oliver.graute@gmail.com \
    --cc=oliver.graute@neuhaus.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox