summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-10-23 19:54:22 -0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-16 23:34:13 +0100
commit38809e3985d3c819ec58ca311d8e1eaef8124d6d (patch)
tree05f04f37c3334f9d672f22167c6084be25379e68 /node.gyp
parentb6a3b0a6297ee205aa34d357edd55b79f91cdf09 (diff)
downloadnode-38809e3985d3c819ec58ca311d8e1eaef8124d6d.tar.gz
build: allow linking against system libuv
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 6c8dcee83..287d89730 100644
--- a/node.gyp
+++ b/node.gyp
@@ -10,6 +10,7 @@
'node_shared_zlib%': 'false',
'node_shared_http_parser%': 'false',
'node_shared_cares%': 'false',
+ 'node_shared_libuv%': 'false',
'node_use_openssl%': 'true',
'node_use_systemtap%': 'false',
'node_shared_openssl%': 'false',
@@ -60,7 +61,6 @@
'type': 'executable',
'dependencies': [
- 'deps/uv/uv.gyp:libuv',
'node_js2c#host',
],
@@ -209,6 +209,10 @@
'dependencies': [ 'deps/cares/cares.gyp:cares' ],
}],
+ [ 'node_shared_libuv=="false"', {
+ 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
+ }],
+
[ 'OS=="win"', {
'sources': [
'src/res/node.rc',