pentoo-overlay/dev-libs/hashdb/files/fix_configure_openssl-1.1.0_detection.patch
2019-11-23 17:36:58 +03:00

12 lines
637 B
Diff

diff -ur a/configure.ac b/configure.ac
--- a/configure.ac 2017-05-19 21:40:12.000000000 +0300
+++ b/configure.ac 2019-11-23 17:31:01.910783054 +0300
@@ -203,7 +203,7 @@
# OpenSSL has been installed under at least two different names...
# note that crypto requires zlib
AC_CHECK_LIB([crypto],[EVP_get_digestbyname],[],[AC_MSG_ERROR([Could not find crypto library])])
-AC_CHECK_LIB([ssl],[SSL_library_init],[],[AC_MSG_ERROR([Could not find ssl library])])
+AC_CHECK_LIB([ssl],[OPENSSL_init_ssl],[],[AC_MSG_ERROR([Could not find ssl library])])
AC_CHECK_FUNCS([EVP_get_digestbyname],,
AC_MSG_ERROR([SSL/OpenSSL support required]))