libcurl build for Windows

Change-Id: Ie14613d36509b3f45220092c5c196b14fd4b0a10
This commit is contained in:
Thomas Inskip 2016-08-03 08:06:43 -07:00
parent d059b27a69
commit 224747db0b
1 changed files with 14 additions and 0 deletions

View File

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