Commit 52bf8185e8f3fc18476a9a68f5deb8cb3d9d8df9

Thomas de Grivel 2024-11-30T01:00:53

ssl

diff --git a/configure b/configure
index 1b170e8..d0e21d4 100755
--- a/configure
+++ b/configure
@@ -40,7 +40,7 @@ OBJECTS_COV="$(c2ext .cov.lo "$SOURCES")"
 OBJECTS_DEBUG="$(c2ext .debug.lo "$SOURCES")"
 
 # Common config for all targets
-CPPFLAGS="-I.. $CPPFLAGS"
+CPPFLAGS="-I.. $CPPFLAGS -DSMTP_OPENSSL"
 CFLAGS="$CFLAGS -W -Wall -Werror -std=c11 -pedantic -pipe"
 LDFLAGS="-export-dynamic $LDFLAGS -rdynamic"
 config_asan
@@ -53,7 +53,7 @@ pkg_config libffi
 pkg_config libmd
 config_define PREFIX "\"${PREFIX}\""
 update_config_h
-LIBS="$LIBS -lm -rpath ${PREFIX}/lib"
+LIBS="$LIBS -lm -lssl -rpath ${PREFIX}/lib"
 if $HAVE_WIN32; then
     LIBS="$LIBS -lws2_32"
 fi