Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ocamlbuild: make it possible to change the ocamlmklib command #106

Closed
wants to merge 1 commit into from

Conversation

vouillon
Copy link
Member

  • Add a -ocamlmklib option.
  • Use ocamlfind for ocamlmklib as well, when told to do so.

This is useful when cross-compiling, to select an alternative ocamlmklib that produces libraries for the target platform.

Add a -ocamlmklib option.
Use ocamlfind for ocamlmklib as well, when told to do so.

This is useful when crosscompiling, to select an alternative ocamlmklib
that produces libraries for the target platform.
@gasche
Copy link
Member

gasche commented Oct 13, 2014

The patch looks trivial enough. Did you check that it works as expected with the new code to handle "-use-ocamlfind -ocamlc " (PR#6300)?

@vouillon
Copy link
Member Author

The code does the very same thing with ocamlmklib as with other commands. So, I don't see why there would be any issue.

@gasche
Copy link
Member

gasche commented Oct 13, 2014

Merged in 4.02, thanks!

@gasche gasche closed this Oct 13, 2014
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Mar 14, 2017
chambart pushed a commit to chambart/ocaml-1 that referenced this pull request Aug 4, 2021
stedolan pushed a commit to stedolan/ocaml that referenced this pull request Oct 5, 2021
EmileTrotignon pushed a commit to EmileTrotignon/ocaml that referenced this pull request Jan 12, 2024
Co-authored-by: Patrick Ferris <pf341@patricoferris.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants