ocamlfind
ocamlfind copied to clipboard
ocamlfind output has problems on windows
On windows in unix context it should not output the extra \r
otherwise it breaks its use in configure
scripts: see https://github.com/ocaml/opam-repository/pull/24841
This is not the correct approach - ocamlfind
on Windows should emit \r\n
because it's a Windows program (emitting Unix line-endings does actually cause problems for native Windows shell utilities which expect CRLF). The patch in the issue (using tr -d
on the Unix side) is what should be done. It's all part of the encouragement to stop using Posix when you actually want to be cross-platform 🙂