diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-10-23 17:01:26 +0400 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-06 03:18:35 +0400 |
commit | bfd78b69fc7d0ac97106658e4eb6d475fa08e247 (patch) | |
tree | 03acc1c971194e6aa4e8628f8156f5789e3d6a76 /node.gyp | |
parent | fddb5dc2d3bf063ed5a06c4af7a86e644f5328c9 (diff) |
build: allow linking against system http_parser
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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', |