We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80c0919 commit 5573cd3Copy full SHA for 5573cd3
src/ci/scripts/install-mingw.sh
@@ -32,6 +32,12 @@ if isWindows && isKnownToBeMingwBuild; then
32
;;
33
esac
34
35
+ # Stop /msys64/bin from being prepended to PATH by adding the bin directory manually.
36
+ # Note that this intentionally uses a Windows style path instead of the msys2 path to
37
+ # avoid being auto-translated into `/usr/bin`, which will not have the desired effect.
38
+ msys2Path="c:/msys64"
39
+ ciCommandAddPath "${msys2Path}/usr/bin"
40
+
41
mingw_dir="mingw${bits}"
42
43
curl -o mingw.7z "${MIRRORS_BASE}/${mingw_archive}"
0 commit comments