-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
[openssl] Enforce cmd for nmake #37716
Conversation
ports/openssl/windows/portfile.cmake
Outdated
# Need cmd to pass quoted CC from nmake to mkbuildinf.pl, GH-37134 | ||
find_program(CMD_EXECUTABLE cmd HINTS ENV PATH NO_DEFAULT_PATH REQUIRED) | ||
set(ENV{COMSPEC} "${CMD_EXECUTABLE}") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this a general problem and should be moved into vcpkg_build_nmake ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have the same question ;-) It could be moved one step further:
Is this a general problem for windows host and should be moved to vcpkg tool?
I think the answer is yes. See also microsoft/vcpkg-tool#1201 |
I think the right place to do this is somewhere around https://github.com/microsoft/vcpkg-tool/blob/de85ec90b8b8c12878dae776811392415f746314/src/vcpkg/base/system.process.cpp#L478 |
I probaly won't touch these parts of the tools soon. I'm not operating under MSVS. |
I think the tool is the right place but this is better than nothing and already done :). Thanks! |
Fixes #37134.
Fixes #35949.