--- 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' ],
     }],
