summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-10-23 10:27:19 -0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-06 00:18:35 +0100
commit73ff653a8db11cbe0142df4e764434f125e45e6b (patch)
treeda87420c5c0b1c795440c6b8e39bb380146042d6 /node.gyp
parentbfd78b69fc7d0ac97106658e4eb6d475fa08e247 (diff)
downloadnode-73ff653a8db11cbe0142df4e764434f125e45e6b.tar.gz
build: allow linking against system c-ares
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp6
1 files changed, 5 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 60b580833..2e72932b1 100644
--- a/node.gyp
+++ b/node.gyp
@@ -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',