Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow -l option to ocamlmklib on MSVC ports
In general (especially for the Windows API), -lfoo cannot be used to link libraries because the various drivers assume that libfoo.lib is meant. This patch allows ocamlmklib to mask this difference so that -luser32 will refer to libuser32.a as normal on MinGW but user32.lib on MSVC.
- Loading branch information
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters