summaryrefslogtreecommitdiff
path: root/irc/irssi/files/patch-configure.ac
blob: 933d33cad86fa5482cdebd0f11bf1af0d2be1b2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- configure.ac.orig	2019-02-11 17:35:17 UTC
+++ configure.ac
@@ -322,7 +322,11 @@ PKG_CHECK_MODULES([OPENSSL], [openssl], [
 	AC_CHECK_LIB([ssl], [SSL_library_init], [
 		LIBS="$LIBS -lssl -lcrypto"
 	], [
-		AC_MSG_ERROR([The OpenSSL library was not found])
+		AC_CHECK_LIB([ssl], [OPENSSL_init_ssl], [
+			LIBS="$LIBS -lssl -lcrypto"
+		], [
+			AC_MSG_ERROR([The OpenSSL library was not found])
+		])
 	])
 ])