From 59efbc4bcb02fa22d9ce5b5ba43aad239fddf4f9 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Tue, 13 Sep 2011 09:18:43 +0000 Subject: [PATCH] In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library in favour of their CommonCrypto library. This change adds a work-around that allows nginx to still be built on Lion with OpenSSL. --- src/os/unix/ngx_darwin_config.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/os/unix/ngx_darwin_config.h b/src/os/unix/ngx_darwin_config.h index 88aa6f502..a3a14c493 100644 --- a/src/os/unix/ngx_darwin_config.h +++ b/src/os/unix/ngx_darwin_config.h @@ -8,6 +8,8 @@ #define _NGX_DARWIN_CONFIG_H_INCLUDED_ +#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0 + #include #include