8000 Improve MinGW detection for toolchain availability filtering by jld01 · Pull Request #1160 · eclipse-cdt/cdt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Improve MinGW detection for toolchain availability filtering #1160

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

Merged
merged 1 commit into from
May 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2012, 2024 Andrew Gvozdev and others.
* Copyright (c) 2012, 2025 Andrew Gvozdev and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -371,7 +371,7 @@ public static String getMSysHome() {
}

/**
* Check if MinGW is available in the path.
* Check if MinGW is available in the specified path or via known installation hints.
*
* @param envPath
* - list of directories to search for MinGW separated by path
Expand All @@ -380,7 +380,7 @@ public static String getMSysHome() {
* @return {@code true} if MinGW is available, {@code false} otherwise.
*/
public static boolean isAvailable(String envPath) {
return isWindowsPlatform && findMingwInPath(envPath) != null;
return isWindowsPlatform && findMinGWRoot(envPath, null) != null;
}

/**
Expand Down
Loading
0