Build without OpenSSL on Mac OS.

Modern versions don't ship enough libcrypto to build against.
This commit is contained in:
Darren Tucker 2021-09-29 18:42:47 +10:00
parent c9172193ea
commit 55c8bdf6e9
1 changed files with 8 additions and 0 deletions

8
.github/configs vendored
View File

@ -154,6 +154,14 @@ case "${TARGET_HOST}" in
;;
esac
# Unless specified otherwise, build without OpenSSL on Mac OS since
# modern versions don't ship with libcrypto.
case $(./config.guess) in
*-darwin*)
LIBCRYPTOFLAGS="--without-openssl"
;;
esac
# If we have a local openssl/libressl, use that.
if [ -z "${LIBCRYPTOFLAGS}" ]; then
# last-match