GUACAMOLE-223: Link against libcrypto as well as libssl.

Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/commit/cf01d0d6
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/tree/cf01d0d6
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/diff/cf01d0d6

Branch: refs/heads/master
Commit: cf01d0d634ccc5b0639f46663d661a497480aa69
Parents: 821feea
Author: Michael Jumper <[email protected]>
Authored: Sat Nov 19 23:10:14 2016 -0800
Committer: Michael Jumper <[email protected]>
Committed: Sun Feb 26 14:25:56 2017 -0800

----------------------------------------------------------------------
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-server/blob/cf01d0d6/configure.ac
----------------------------------------------------------------------
diff --git a/configure.ac b/configure.ac
index d7a4e4c..f98670f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -225,7 +225,7 @@ then
     have_ssl=yes
 
     AC_CHECK_HEADER(openssl/ssl.h,, [have_ssl=no])
-    AC_CHECK_LIB([ssl], [SSL_CTX_new], [SSL_LIBS="$SSL_LIBS -lssl"], 
[have_ssl=no])
+    AC_CHECK_LIB([ssl], [SSL_CTX_new], [SSL_LIBS="$SSL_LIBS -lssl -lcrypto"], 
[have_ssl=no])
 
     if test "x${have_ssl}" = "xno"
     then

Reply via email to