SSL Support on Mac
Utilizes Darwin SSL (rather than OpenSSL). The configuration file that was built appears to be for Linux. Had to remove the CURL_CA_BUNDLE for certificate lookup to work.
This commit is contained in:
parent
1185a2fb46
commit
192aa8216b
@ -2,7 +2,7 @@
|
||||
/* lib/curl_config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Location of default ca bundle */
|
||||
#define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt"
|
||||
/* #define CURL_CA_BUNDLE "/etc/pki/tls/certs/ca-bundle.crt" */
|
||||
|
||||
/* Location of default ca path */
|
||||
/* #undef CURL_CA_PATH */
|
||||
|
@ -20,7 +20,7 @@ project "curl-lib"
|
||||
defines {"HAVE_CONFIG_H", "CURL_HIDDEN_SYMBOLS"}
|
||||
|
||||
configuration { 'macosx' }
|
||||
defines { 'HAVE_CONFIG_H' }
|
||||
defines { 'HAVE_CONFIG_H', 'USE_SSL', 'USE_DARWINSSL' }
|
||||
|
||||
configuration "Release"
|
||||
defines {"NDEBUG"}
|
||||
|
@ -162,6 +162,9 @@
|
||||
configuration "macosx"
|
||||
defines { "LUA_USE_MACOSX" }
|
||||
links { "CoreServices.framework" }
|
||||
if not _OPTIONS["no-curl"] then
|
||||
links { "Security.framework" }
|
||||
end
|
||||
|
||||
configuration { "macosx", "gmake" }
|
||||
toolset "clang"
|
||||
|
Reference in New Issue
Block a user