diff --git a/src/core/opamStd.ml b/src/core/opamStd.ml index a54d1de94ba..a26f6ef6d80 100644 --- a/src/core/opamStd.ml +++ b/src/core/opamStd.ml @@ -1176,6 +1176,8 @@ module OpamSys = struct fun _ -> `Native let is_cygwin_variant cmd = + (* Treat MSYS2's variant of `cygwin1.dll` called `msys-2.0.dll` equivalently. + Confer https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin/ *) match get_windows_executable_variant cmd with | `Native -> `Native | `Cygwin