build,win: set env before generating projects
vcbuild.bat calls python configure before setting GYP_MSVS_VERSION, so SelectVisualStudioVersion (tools\gyp\pylib\gyp\MSVSVersion.py) defaults to 'auto' and selects VS 2005. vcbuild sets the environment in the current shell, so this issue would manifest itself only on the first invocation of the script in any given shell windows. Reviewed-By:Julien Gilli <jgilli@fastmail.fm> PORT-PR-URL: https://github.com/nodejs/io.js/pull/2101 PORT-FROM: c0c0d732 PR-URL: https://github.com/joyent/node/pull/20109
parent
8e1134c0
Please register or sign in to comment