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

Remove MinGW paths only when using a MinGW kit #3138

Merged
merged 2 commits into from
Apr 26, 2023
Merged

Conversation

benmcmorran
Copy link
Member

Fixes #3136 and maybe #3125 and #3127

The issue with the old code was that it always stripped MinGW paths from the PATH environment variable even if a MinGW compiler hadn't been detected earlier and moved to the beginning of PATH. This causes problems when attempting to use MinGW without specifying a kit, as MinGW will vanish entirely from PATH.

FYI @philippewarren

@benmcmorran benmcmorran merged commit a65e9d9 into main Apr 26, 2023
@benmcmorran benmcmorran deleted the dev/bemcmorr/3136 branch April 26, 2023 17:12
@benmcmorran benmcmorran added this to the 1.15 milestone Apr 26, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jun 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.14.29/30 removes entries containing "mingw" from PATH on Windows host
2 participants