This commit fixes #238 - attempting to get nodeConfigureArgs picked up regardless of python binary being used

This commit is contained in:
erachitskiy
2016-07-13 18:14:26 -04:00
parent 2b027229f1
commit 1e2522852f
+2 -3
View File
@@ -502,9 +502,8 @@ function _getNodeCompiler(nodeFileDir, nodeConfigureArgs, nodeMakeArgs, nodeVCBu
var conf = [cfg];
if (isPy !== "python") {
conf = [conf].concat(nodeConfigureArgs);
}
/* add all nodeConfigureArgs to the ./configure argument array */
conf = [conf].concat(nodeConfigureArgs);
// should work for all use cases now.
configure = spawn(isPy, conf, {