From 38aacaa96abee65edb64bf88f15016d54ce31568 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Tue, 27 Oct 2015 18:13:55 +0100 Subject: Seeing configure as a static resolution of path continued (not yet on windows). This makes sense probably on Windows too, to be evaluated, maybe .exe suffix should be added. --- configure.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ml b/configure.ml index 37c45f3e62..173429ba8e 100644 --- a/configure.ml +++ b/configure.ml @@ -478,7 +478,7 @@ let camlbin, caml_version, camllib = | None -> try let camlc = which camlexec.byte in let dir = Filename.dirname camlc in - rebase_camlexec dir camlexec; + if not arch_win32 then rebase_camlexec dir camlexec; (* win32: TOCHECK *) dir, camlc with Not_found -> die (sprintf "Error: cannot find '%s' in your path!\n" camlexec.byte ^ -- cgit v1.2.3