--- ./node.gyp.orig0 Tue Jul 11 01:20:03 2017 +++ ./node.gyp Tue Jul 25 04:12:03 2017 @@ -370,7 +370,7 @@ 'process_outputs_as_sources': 1, 'inputs': [ '<@(library_files)', - './config.gypi', + './config-fake.gypi', ], 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc', --- ./test/parallel/test-process-config.js.orig Tue Jul 25 04:08:54 2017 +++ ./test/parallel/test-process-config.js Tue Jul 25 04:10:09 2017 @@ -10,7 +10,7 @@ // ensure that `process.config` is an Object assert.strictEqual(Object(process.config), process.config); -const configPath = path.resolve(__dirname, '..', '..', 'config.gypi'); +const configPath = path.resolve(__dirname, '..', '..', 'config-fake.gypi'); let config = fs.readFileSync(configPath, 'utf8'); // clean up comment at the first line --- ./tools/js2c.py.orig Mon Jul 24 23:55:05 2017 +++ ./tools/js2c.py Tue Jul 25 04:06:48 2017 @@ -253,6 +253,7 @@ for name in modules: lines = ReadFile(str(name)) + name = name.replace("-fake", "") lines = ExpandConstants(lines, consts) lines = ExpandMacros(lines, macros)