commit 7de68a820ba0321f608bf67e31bbd1750d9569ce from: Thomas Adam date: Fri Jun 14 13:09:30 2024 UTC CI: macos: don't look for -lssl When looking for SSL_CTX_* this will implicitly mix libressl and openssl. This is already covered on darwin (MacOS), so don't perform this check on that platform, but do for all others. commit - 16c7aa4bd99efc75751c396d3c11acaf023df301 commit + 7de68a820ba0321f608bf67e31bbd1750d9569ce blob - 9379cafdee82bf355e139c63fc751fc042b1c58e blob + d8cd928cb52d1a67c5bde599208a6efafce1e036 --- configure.ac +++ configure.ac @@ -210,8 +210,10 @@ AC_SEARCH_LIBS([RAND_add], [crypto], [:], [ AC_MSG_ERROR([can't find libcrypto]) ]) -AC_SEARCH_LIBS([SSL_CTX_new], [ssl], [:], [ - AC_MSG_ERROR([can't find libssl]) +AS_IF([test "x$PLATFORM" != "xdarwin"], [ + AC_SEARCH_LIBS([SSL_CTX_new], [ssl], [:], [ + AC_MSG_ERROR([can't find libssl]) + ]) ]) # Sanity check for Libre/OpenSSL headers vs library mismatch