Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/irc/irssi/files/patch-configure.ac
14254 views
--- 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])
+		])
 	])
 ])