-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new heuristic for handling OCAMLLIB
ocamlbuild -where will now ignore OCAMLLIB completely if it detects that OCAMLBUILD_LIBDIR is not a lexical subdirectory of OCAML_LIBDIR. If it is a subdirectory, then instead of returning $OCAMLLIB/ocamlbuild, it will also include the difference between OCAMLBUILD_LIBDIR and OCAML_LIBDIR. For example, if in this normal findlib local installation: OCAMLBUILD_LIBDIR=/home/dra/ocaml/lib/site-lib OCAML_LIBDIR=/home/dra/ocaml/lib then ocamlbuild -where will return $OCAMLLIB/site-lib/ocamlbuild if OCAMLLIB is set.
- Loading branch information
Showing
3 changed files
with
45 additions
and
5 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
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