diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-10-23 10:27:19 -0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-06 00:18:35 +0100 |
commit | 73ff653a8db11cbe0142df4e764434f125e45e6b (patch) | |
tree | da87420c5c0b1c795440c6b8e39bb380146042d6 /node.gyp | |
parent | bfd78b69fc7d0ac97106658e4eb6d475fa08e247 (diff) | |
download | node-73ff653a8db11cbe0142df4e764434f125e45e6b.tar.gz |
build: allow linking against system c-ares
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,6 +9,7 @@ 'node_shared_v8%': 'false', 'node_shared_zlib%': 'false', 'node_shared_http_parser%': 'false', + 'node_shared_cares%': 'false', 'node_use_openssl%': 'true', 'node_use_systemtap%': 'false', 'node_shared_openssl%': 'false', @@ -59,7 +60,6 @@ 'type': 'executable', 'dependencies': [ - 'deps/cares/cares.gyp:cares', 'deps/uv/uv.gyp:libuv', 'node_js2c#host', ], @@ -205,6 +205,10 @@ 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ], }], + [ 'node_shared_cares=="false"', { + 'dependencies': [ 'deps/cares/cares.gyp:cares' ], + }], + [ 'OS=="win"', { 'sources': [ 'src/res/node.rc', |