]> git.kaiwu.me - nginx.git/commitdiff
In Mac OS X Lion, Apple deprecated the use of the system OpenSSL library
authorRuslan Ermilov <ru@nginx.com>
Tue, 13 Sep 2011 09:18:43 +0000 (09:18 +0000)
committerRuslan Ermilov <ru@nginx.com>
Tue, 13 Sep 2011 09:18:43 +0000 (09:18 +0000)
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

index 88aa6f502a99cf84c6913ec56bb03085f4068977..a3a14c493a499e503c8bfbc57ff49e460db84af3 100644 (file)
@@ -8,6 +8,8 @@
 #define _NGX_DARWIN_CONFIG_H_INCLUDED_
 
 
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_0
+
 
 #include <sys/types.h>
 #include <sys/time.h>