From f01fe92b82be0c3ff1569a2fc719162758bba065 Mon Sep 17 00:00:00 2001 From: Lars Schneider Date: Sun, 6 Nov 2016 20:35:04 +0100 Subject: Makefile: set NO_OPENSSL on macOS by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Apple removed the OpenSSL header files in macOS 10.11 and above. OpenSSL was deprecated since macOS 10.7. Set `NO_OPENSSL` and `APPLE_COMMON_CRYPTO` to `YesPlease` as default for macOS. It is possible to override this and use OpenSSL by defining `NO_APPLE_COMMON_CRYPTO`. Original-patch-by: Torsten Bögershausen Signed-off-by: Lars Schneider Signed-off-by: Junio C Hamano --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 13ed57fd08..d93daffeb7 100644 --- a/Makefile +++ b/Makefile @@ -1023,6 +1023,7 @@ ifeq ($(uname_S),Darwin) endif endif ifndef NO_APPLE_COMMON_CRYPTO + NO_OPENSSL = YesPlease APPLE_COMMON_CRYPTO = YesPlease COMPAT_CFLAGS += -DAPPLE_COMMON_CRYPTO endif -- cgit v1.2.3