From 224747db0bde644928d5a5c71d4fa3d1de7ed375 Mon Sep 17 00:00:00 2001 From: Thomas Inskip Date: Wed, 3 Aug 2016 08:06:43 -0700 Subject: [PATCH] libcurl build for Windows Change-Id: Ie14613d36509b3f45220092c5c196b14fd4b0a10 --- packager/third_party/curl/curl.gyp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packager/third_party/curl/curl.gyp b/packager/third_party/curl/curl.gyp index c82a98514b..0a314fc436 100644 --- a/packager/third_party/curl/curl.gyp +++ b/packager/third_party/curl/curl.gyp @@ -59,6 +59,9 @@ }], ['OS == "win"', { 'direct_dependent_settings': { + 'defines': [ + 'CURL_DISABLE_LDAP', + ], 'link_settings': { 'libraries': [ '-lws2_32.lib', @@ -77,6 +80,17 @@ 'CURL_STATICLIB', ], }], + ['OS == "win"', { + 'sources': [ + 'source/lib/config-win32.h', + 'source/lib/idn_win32.c', + 'source/lib/system_win32.c', + 'source/lib/system_win32.h', + ], + 'defines': [ + 'BUILDING_LIBCURL', + ], + }], ], 'include_dirs': [ 'source/lib',