[PATCH v2] Makefile: set NO_OPENSSL on macOS by default
- From
larsxschneider@gmail.com <larsxschneider@gmail.com>
- Date
- Nov 10, 2016, 11:13 UTC
- Message-ID
- <20161110111348.61580-1-larsxschneider@gmail.com>
- In-Reply-To
- <1fdc5333-79a8-7c1d-f7e5-e8150d0ad9cc@web.de>
From: Lars Schneider <larsxschneider@gmail.com>
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`.
Signed-off-by: Lars Schneider <larsxschneider@gmail.com> --- Makefile | 1 + 1 file changed, 1 insertion(+)
diff --git a/Makefile b/Makefile index 9d6c245..f53fcc9 100644 --- a/Makefile +++ b/Makefile @@ -1047,6 +1047,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
-- 2.10.2