diff options
Diffstat (limited to 'www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js')
-rw-r--r-- | www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js b/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js new file mode 100644 index 000000000000..c11baefc0b49 --- /dev/null +++ b/www/npm/files/patch-lib_node__modules_npm_node__modules_node-gyp_lib_configure.js @@ -0,0 +1,11 @@ +--- lib/node_modules/npm/node_modules/node-gyp/lib/configure.js.orig 2019-05-29 07:53:16 UTC ++++ lib/node_modules/npm/node_modules/node-gyp/lib/configure.js +@@ -29,7 +29,7 @@ exports.usage = 'Generates ' + (win ? 'MSVC project fi + + function configure (gyp, argv, callback) { + +- var python = gyp.opts.python || process.env.PYTHON || 'python2' ++ var python = gyp.opts.python || process.env.PYTHON || 'python2.7' + , buildDir = path.resolve('build') + , configNames = [ 'config.gypi', 'common.gypi' ] + , configs = [] |