Correct detected value for ocaml on Windows
This commit is contained in:
parent
d809a3362a
commit
574866af2e
|
@ -8,6 +8,9 @@ val parse_path : string -> Path.t list
|
||||||
(** The opam tool *)
|
(** The opam tool *)
|
||||||
val opam : Path.t option
|
val opam : Path.t option
|
||||||
|
|
||||||
|
(** Extension to append to executable filenames *)
|
||||||
|
val exe : string
|
||||||
|
|
||||||
(** Look for a program in the PATH *)
|
(** Look for a program in the PATH *)
|
||||||
val which : ?path:Path.t list -> string -> Path.t option
|
val which : ?path:Path.t list -> string -> Path.t option
|
||||||
|
|
||||||
|
|
|
@ -311,7 +311,7 @@ let create ~(kind : Kind.t) ~path ~base_env ~env_extra ~name ~merlin ~use_findli
|
||||||
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.absolute
|
; toplevel_path = Option.map (get_env env "OCAML_TOPLEVEL_PATH") ~f:Path.absolute
|
||||||
|
|
||||||
; ocaml_bin = dir
|
; ocaml_bin = dir
|
||||||
; ocaml = Path.relative dir "ocaml"
|
; ocaml = Path.relative dir ("ocaml" ^ Bin.exe)
|
||||||
; ocamlc
|
; ocamlc
|
||||||
; ocamlopt = best_prog "ocamlopt"
|
; ocamlopt = best_prog "ocamlopt"
|
||||||
; ocamldep = get_prog "ocamldep"
|
; ocamldep = get_prog "ocamldep"
|
||||||
|
|
Loading…
Reference in New Issue