Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

win: use msbuild from the configure stage #1654

Merged
merged 1 commit into from
Feb 13, 2019

Conversation

bzoz
Copy link
Contributor

@bzoz bzoz commented Jan 22, 2019

Checklist
Description of change

If node-gyp configure has set up MSBuild location use it instead the one that happens to be first on the PATH.

Fixes: #1653

If node-gyp configure has set up MSBuild location use it instead the
one that happens to be first on the PATH.

Fixes: nodejs#1653
@refack
Copy link
Contributor

refack commented Jan 22, 2019

@bzoz thanks for the fix. Could you add a test? (maybe run node-gyp configure then add a fake msbuild.exe to the path and run node-gyp build)

@joaocgreis
Copy link
Member

joaocgreis commented Feb 13, 2019

CI: https://ci.nodejs.org/view/All/job/nodegyp-test-pull-request/115/ ✔️

@refack do you mind if I land this even without the test? Change here is pretty straightforward and there was no test before.

@refack refack merged commit 770b397 into nodejs:master Feb 13, 2019
@refack
Copy link
Contributor

refack commented Feb 13, 2019

@joaocgreis, done.

refack pushed a commit to refack/node-gyp that referenced this pull request Feb 13, 2019
If node-gyp configure has set up MSBuild location use it instead the
one that happens to be first on the PATH.

PR-URL: nodejs#1654
Fixes: nodejs#1653
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: João Reis <[email protected]>
rvagg pushed a commit that referenced this pull request Apr 24, 2019
If node-gyp configure has set up MSBuild location use it instead the
one that happens to be first on the PATH.

PR-URL: #1654
Fixes: #1653
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Refael Ackermann <[email protected]>
Reviewed-By: João Reis <[email protected]>
@rvagg rvagg mentioned this pull request Apr 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants