Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-10-23 17:01:26 +0400
committerBen Noordhuis <info@bnoordhuis.nl>2012-11-06 03:18:35 +0400
commitbfd78b69fc7d0ac97106658e4eb6d475fa08e247 (patch)
tree03acc1c971194e6aa4e8628f8156f5789e3d6a76 /node.gyp
parentfddb5dc2d3bf063ed5a06c4af7a86e644f5328c9 (diff)
build: allow linking against system http_parser
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 cefa502ce38..60b5808330f 100644
--- a/node.gyp
+++ b/node.gyp
@@ -8,6 +8,7 @@
'node_use_etw%': 'false',
'node_shared_v8%': 'false',
'node_shared_zlib%': 'false',
+ 'node_shared_http_parser%': 'false',
'node_use_openssl%': 'true',
'node_use_systemtap%': 'false',
'node_shared_openssl%': 'false',
@@ -59,7 +60,6 @@
'dependencies': [
'deps/cares/cares.gyp:cares',
- 'deps/http_parser/http_parser.gyp:http_parser',
'deps/uv/uv.gyp:libuv',
'node_js2c#host',
],
@@ -201,6 +201,10 @@
'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ],
}],
+ [ 'node_shared_http_parser=="false"', {
+ 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
+ }],
+
[ 'OS=="win"', {
'sources': [
'src/res/node.rc',