diff --git a/contrib/curl/lib/curl_config.h b/contrib/curl/lib/curl_config.h index fe05c2b8..6c5818f4 100644 --- a/contrib/curl/lib/curl_config.h +++ b/contrib/curl/lib/curl_config.h @@ -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 */ diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua index 1e56fed9..30946de9 100644 --- a/contrib/curl/premake5.lua +++ b/contrib/curl/premake5.lua @@ -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"} diff --git a/premake5.lua b/premake5.lua index 4a7eb04a..0bc85159 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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"