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',