Skip to content

Commit

Permalink
Adopt suggestion to doc MSYS2/Cygwin diff
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonah Beckford committed Jan 3, 2023
1 parent dded135 commit 73c02f2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/opamStd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73c02f2

Please sign in to comment.