diff --git a/lib/create-config-gypi.js b/lib/create-config-gypi.js index d598dea6e2..01a820e9f2 100644 --- a/lib/create-config-gypi.js +++ b/lib/create-config-gypi.js @@ -96,6 +96,9 @@ async function getCurrentConfigGypi ({ gyp, nodeDir, vsInfo, python }) { } } variables.msbuild_path = vsInfo.msBuild + if (config.variables.clang === 1) { + config.variables.clang = 0 + } } // loop through the rest of the opts and add the unknown ones as variables.