summaryrefslogtreecommitdiff
path: root/node.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'node.gypi')
-rw-r--r--node.gypi14
1 files changed, 8 insertions, 6 deletions
diff --git a/node.gypi b/node.gypi
index 665fc627b3..4bfaa01ff3 100644
--- a/node.gypi
+++ b/node.gypi
@@ -164,12 +164,14 @@
}],
[ 'node_experimental_http_parser=="true"', {
- 'defines': [ 'NODE_EXPERIMENTAL_HTTP' ],
- 'dependencies': [ 'deps/llhttp/llhttp.gyp:llhttp' ],
- }, {
- 'conditions': [ [ 'node_shared_http_parser=="false"', {
- 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
- } ] ],
+ 'defines': [ 'NODE_EXPERIMENTAL_HTTP_DEFAULT' ],
+ } ],
+
+ [ 'node_shared_http_parser=="false"', {
+ 'dependencies': [
+ 'deps/http_parser/http_parser.gyp:http_parser',
+ 'deps/llhttp/llhttp.gyp:llhttp'
+ ],
} ],
[ 'node_shared_cares=="false"', {