diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 18:42:47 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-09-29 18:42:47 +1000 |
commit | 55c8bdf6e9afb0f9fa8e4f10c25c7f0081b48fd0 (patch) | |
tree | 23844ba19ffa498266ec6445741b7561ef01c2b8 /.github | |
parent | c9172193ea975415facf0afb356d87df21535f88 (diff) |
Build without OpenSSL on Mac OS.
Modern versions don't ship enough libcrypto to build against.
Diffstat (limited to '.github')
-rwxr-xr-x | .github/configs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/configs b/.github/configs index e86fef53..b0ce19db 100755 --- a/.github/configs +++ b/.github/configs @@ -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 |