summaryrefslogtreecommitdiff
path: root/net-libs/nodejs/files/nodejs-99999999-llhttp.patch
blob: 1b6eb9fb7fa1d4cc3f81b21fbbc2d91bf5e27aac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/node.gypi
+++ b/node.gypi
@@ -169,11 +169,15 @@
 
     [ 'node_shared_http_parser=="false"', {
       'dependencies': [
-        'deps/http_parser/http_parser.gyp:http_parser',
-        'deps/llhttp/llhttp.gyp:llhttp'
+        'deps/http_parser/http_parser.gyp:http_parser'
       ],
     } ],
 
+    [ '"true"', { 'dependencies': [
+        'deps/llhttp/llhttp.gyp:llhttp'
+      ],
+    }],
+
     [ 'node_shared_cares=="false"', {
       'dependencies': [ 'deps/cares/cares.gyp:cares' ],
     }],