Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2015-07-17 02:18:11 +0300
committerRebecca Turner <me@re-becca.org>2015-07-17 08:34:11 +0300
commit24962195d686e9b81eae44b15243506f5ba7be0d (patch)
tree62347a2ae20f05621b645e7e5ef786ef415a5caa /node_modules/node-gyp/lib/configure.js
parentd053ae367ed09bc86daac686b2be09150790afcf (diff)
node-gyp@2.0.2
Diffstat (limited to 'node_modules/node-gyp/lib/configure.js')
-rw-r--r--node_modules/node-gyp/lib/configure.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/node_modules/node-gyp/lib/configure.js b/node_modules/node-gyp/lib/configure.js
index 0a33e7008..e8c2029b5 100644
--- a/node_modules/node-gyp/lib/configure.js
+++ b/node_modules/node-gyp/lib/configure.js
@@ -316,12 +316,14 @@ function configure (gyp, argv, callback) {
// Windows expects an absolute path
output_dir = buildDir
}
+ var nodeGypDir = path.resolve(__dirname, '..')
argv.push('-I', addon_gypi)
argv.push('-I', common_gypi)
argv.push('-Dlibrary=shared_library')
argv.push('-Dvisibility=default')
argv.push('-Dnode_root_dir=' + nodeDir)
+ argv.push('-Dnode_gyp_dir=' + nodeGypDir)
argv.push('-Dmodule_root_dir=' + process.cwd())
argv.push('--depth=.')
argv.push('--no-parallel')