forked from autogits/nodejs21
14 lines
591 B
Diff
14 lines
591 B
Diff
|
Index: node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
|
||
|
===================================================================
|
||
|
--- node-v19.1.0.orig/deps/npm/node_modules/node-gyp/lib/configure.js
|
||
|
+++ node-v19.1.0/deps/npm/node_modules/node-gyp/lib/configure.js
|
||
|
@@ -96,7 +96,7 @@ function configure (gyp, argv, callback)
|
||
|
|
||
|
log.verbose('build/' + configFilename, 'creating config file')
|
||
|
|
||
|
- var config = process.config || {}
|
||
|
+ var config = JSON.parse(JSON.stringify(process.config || {}))
|
||
|
var defaults = config.target_defaults
|
||
|
var variables = config.variables
|
||
|
|