summaryrefslogtreecommitdiff
blob: 94b52d60a883a08cc5bfa1f3b7ddda396d997fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fix linking error:

Undefined symbols:
  "_X509_free", referenced from:
      _smtp_open in ssmtp.o
ld: symbol(s) not found


--- configure.in
+++ configure.in
@@ -53,6 +53,6 @@
 if test x$enableval = xyes ; then
 	AC_DEFINE(HAVE_SSL)
-	LIBS="$LIBS -lssl"
+	LIBS="$LIBS -lssl -lcrypto"
 fi
 enableval=""