summaryrefslogtreecommitdiff
blob: 31c0c550e57d178a8f866bf90d0f1abbd5848db4 (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=""