From 8b4e02605790ecbe9bb1bc935a21e0817de8383b Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 10 Sep 2015 03:01:53 +0100 Subject: [PATCH 1/2] Fixed HTTP only compilation define to actually work. --- contrib/curl/premake5.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua index da18bafb..55d5f443 100644 --- a/contrib/curl/premake5.lua +++ b/contrib/curl/premake5.lua @@ -2,7 +2,7 @@ project "curl-lib" language "C" kind "StaticLib" includedirs {"include", "lib"} - defines {"BUILDING_LIBCURL", "CURL_STATICLIB", "CURL_HTTP_ONLY", "CURL_DISABLE_LDAP" } + defines {"BUILDING_LIBCURL", "CURL_STATICLIB", "HTTP_ONLY", "CURL_DISABLE_LDAP" } flags { "StaticRuntime" } location "build" From 53040c798922267235008e77b1f2f0a798e623fe Mon Sep 17 00:00:00 2001 From: triton Date: Thu, 10 Sep 2015 03:03:24 +0100 Subject: [PATCH 2/2] Enable SSL on HTTP libcurl for Windows. --- contrib/curl/premake5.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/curl/premake5.lua b/contrib/curl/premake5.lua index 55d5f443..1e56fed9 100644 --- a/contrib/curl/premake5.lua +++ b/contrib/curl/premake5.lua @@ -14,6 +14,7 @@ project "curl-lib" configuration { 'windows' } defines {"WIN32"} + defines {"USE_SSL", "USE_SCHANNEL", "USE_WINDOWS_SSPI"} configuration { 'linux' } defines {"HAVE_CONFIG_H", "CURL_HIDDEN_SYMBOLS"}