Skip to content
Snippets Groups Projects
Commit 26a2787d authored by Dmitry Marakasov's avatar Dmitry Marakasov
Browse files

* configure.ac: Fix OpenSSL library name

If pkg-config check fails (which is the case on FreeBSD where system openssl does not have pkgconfig files), check for libssl library instead of incorrect libopenssl.

Copyright-paperwork-exempt: Yes
parent 8d251437
No related branches found
No related tags found
Loading
Pipeline #422795872 failed
......@@ -519,7 +519,7 @@ AS_IF([test "$with_ssl" = "openssl" || (test "$with_ssl" = "yes" && test "$with_
], [
OLD_LIBS="$LIBS"
LIBS=
AC_SEARCH_LIBS(SSL_CTX_new, openssl,
AC_SEARCH_LIBS(SSL_CTX_new, ssl,
[with_openssl=yes; AC_DEFINE([WITH_OPENSSL], [1], [Use OpenSSL])],
[AC_MSG_WARN(*** OpenSSL was not found.)
])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment