diff options
Diffstat (limited to 'deps/cares/cares.gyp')
-rw-r--r-- | deps/cares/cares.gyp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/deps/cares/cares.gyp b/deps/cares/cares.gyp index dfa35a25ef..8fd8662e1b 100644 --- a/deps/cares/cares.gyp +++ b/deps/cares/cares.gyp @@ -26,7 +26,6 @@ 'direct_dependent_settings': { 'include_dirs': [ 'include' ] }, - 'defines': [ 'HAVE_CONFIG_H' ], 'sources': [ 'common.gypi', 'include/ares.h', @@ -96,7 +95,6 @@ 'src/inet_ntop.c', 'src/ares_inet_net_pton.h', 'src/setup_once.h', - 'src/windows_port.c' ], 'conditions': [ [ 'library=="static_library"', { @@ -107,7 +105,7 @@ [ 'OS=="win"', { 'include_dirs': [ 'config/win32' ], 'sources': [ - 'config/win32/ares_config.h', + 'src/config-win32.h', 'src/windows_port.c', 'src/ares_getenv.c', 'src/ares_iphlpapi.h', @@ -126,6 +124,7 @@ '-Wextra', '-Wno-unused-parameter' ], + 'defines': [ 'HAVE_CONFIG_H' ], }], [ 'OS not in "win android"', { 'cflags': [ |