summaryrefslogtreecommitdiffstats
path: root/.github/configs
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@dtucker.net>2021-09-29 10:42:47 +0200
committerDarren Tucker <dtucker@dtucker.net>2021-09-29 10:42:47 +0200
commit55c8bdf6e9afb0f9fa8e4f10c25c7f0081b48fd0 (patch)
tree23844ba19ffa498266ec6445741b7561ef01c2b8 /.github/configs
parentRemove TEST_SSH_ECC. (diff)
downloadopenssh-55c8bdf6e9afb0f9fa8e4f10c25c7f0081b48fd0.tar.xz
openssh-55c8bdf6e9afb0f9fa8e4f10c25c7f0081b48fd0.zip
Build without OpenSSL on Mac OS.
Modern versions don't ship enough libcrypto to build against.
Diffstat (limited to '')
-rwxr-xr-x.github/configs8
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/configs b/.github/configs
index e86fef532..b0ce19db6 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