Skip to content

Commit f01fe92

Browse files
larsxschneidergitster
authored andcommitted
Makefile: set NO_OPENSSL on macOS by default
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 <[email protected]> Signed-off-by: Lars Schneider <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0202c41 commit f01fe92

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,7 @@ ifeq ($(uname_S),Darwin)
10231023
endif
10241024
endif
10251025
ifndef NO_APPLE_COMMON_CRYPTO
1026+
NO_OPENSSL = YesPlease
10261027
APPLE_COMMON_CRYPTO = YesPlease
10271028
COMPAT_CFLAGS += -DAPPLE_COMMON_CRYPTO
10281029
endif

0 commit comments

Comments
 (0)