From 1e2522852f11a3faeaa4b0b19349fea359f4a96a Mon Sep 17 00:00:00 2001 From: erachitskiy Date: Wed, 13 Jul 2016 18:14:26 -0400 Subject: [PATCH] This commit fixes #238 - attempting to get nodeConfigureArgs picked up regardless of python binary being used --- lib/exe.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/exe.js b/lib/exe.js index 217ad7d..20bd95a 100644 --- a/lib/exe.js +++ b/lib/exe.js @@ -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, {