Add libcrypto to libssl when choosing openssl. This bug is evident only with Arch Linux.

This commit is contained in:
Mke Brady
2015-04-20 18:46:47 +01:00
parent 397aa2776d
commit 32b1402b37
+1 -1
View File
@@ -62,7 +62,7 @@ AC_ARG_WITH(ssl, [ choose --with-ssl=openssl or --with-ssl=polarssl for encrypti
fi
if test "x${with_ssl}" = xopenssl ; then
PKG_CHECK_MODULES(
[SSL], [libssl],
[SSL], [libssl,libcrypto],
[LIBS="${SSL_LIBS} ${LIBS}"
AC_DEFINE([HAVE_LIBCRYPTO],[1],[Define to 1 if you have libcrypto])
AC_DEFINE([HAVE_LIBSSL],[1],[Define to 1 if you have libssl])])