# HG changeset patch # User Ruslan Ermilov # Date 1315905523 0 # Node ID a3870ea96ccd0dfc9d3892de7b45dc5a7d68009a # Parent f9a1646b96118c41c654b5432c8c983557a9200c 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. diff -r f9a1646b9611 -r a3870ea96ccd src/os/unix/ngx_darwin_config.h --- a/src/os/unix/ngx_darwin_config.h Mon Sep 12 15:15:00 2011 +0000 +++ b/src/os/unix/ngx_darwin_config.h Tue Sep 13 09:18:43 2011 +0000 @@ -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