]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Build without OpenSSL on Mac OS.
authorDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 08:42:47 +0000 (18:42 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Wed, 29 Sep 2021 08:42:47 +0000 (18:42 +1000)
Modern versions don't ship enough libcrypto to build against.

.github/configs

index e86fef532b6fffd3dd42eee08329f4f1fec1cf26..b0ce19db6a2bdcecf10610da5870791fc6a7ea32 100755 (executable)
@@ -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