BuildSystem: Enable IMAP storage on OpenBSD.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 16 Feb 2018 12:41:35 +0000 (13:41 +0100)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 16 Feb 2018 12:41:35 +0000 (13:41 +0100)
ASTERISK-27681
Reported by: Stuart Henderson

Change-Id: Ifb6b614acb251b695b9417d76510e73eb335b679

configure
configure.ac

index 0f97728..fc0d4ad 100755 (executable)
--- a/configure
+++ b/configure
@@ -21968,7 +21968,7 @@ rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
                else #looking in imap directory didn't work, try c-client
                        imap_ldflags=""
-                       imap_libs="-lc-client"
+                       imap_libs="-lcrypto -lssl -lc-client"
                        imap_include="-DUSE_SYSTEM_CCLIENT"
                        CPPFLAGS="${saved_cppflags}"
                        LIBS="${saved_libs}"
index cef28f5..f22174f 100644 (file)
@@ -1979,7 +1979,7 @@ if test "${USE_IMAP_TK}" != "no"; then
                        )
                else #looking in imap directory didn't work, try c-client
                        imap_ldflags=""
-                       imap_libs="-lc-client"
+                       imap_libs="-lcrypto -lssl -lc-client"
                        imap_include="-DUSE_SYSTEM_CCLIENT"
                        CPPFLAGS="${saved_cppflags}"
                        LIBS="${saved_libs}"