mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] ssmtp: bugfix for linking error
@ 2015-10-12 14:23 Oliver Graute
  2015-10-29 11:54 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Oliver Graute @ 2015-10-12 14:23 UTC (permalink / raw)
  To: ptxdist; +Cc: Oliver Graute

this fixes a linking error if ssl is enabled

Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 .../0005-added-lcrypto-in-configure.patch          |   21 ++++++++++++++++++++
 patches/ssmtp-2.64/series                          |    1 +
 2 files changed, 22 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..9d4af9a
--- /dev/null
+++ b/patches/ssmtp-2.64/0005-added-lcrypto-in-configure.patch
@@ -0,0 +1,21 @@
+From: OGR <oliver.graute@neuhaus.de>
+Date: Mon, 12 Oct 2015 16:11:43 +0200
+Subject: [PATCH] added -lcrypto in configure
+
+---
+ 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-29 12:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 14:23 [ptxdist] [PATCH] ssmtp: bugfix for linking error Oliver Graute
2015-10-29 11:54 ` Michael Olbrich
2015-10-29 12:16   ` Oliver Graute

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox