1 Displayed os_type when calling ocamlc -config is wrong.
2 This patch forces the correct value without changing anything
5 Index: build-tree/ocaml-3.12.0/utils/config.mlp
6 ===================================================================
7 --- build-tree.orig/ocaml-3.12.0/utils/config.mlp 2010-05-19 13:29:38.000000000 +0200
8 +++ build-tree/ocaml-3.12.0/utils/config.mlp 2010-06-23 19:32:00.000000000 +0200
10 let ext_lib = "%%EXT_LIB%%"
11 let ext_dll = "%%EXT_DLL%%"
13 -let default_executable_name =
14 - match Sys.os_type with
16 - | "Win32" | "Cygwin" -> "camlprog.exe"
18 +let default_executable_name = "camlprog.exe"
20 let systhread_supported = %%SYSTHREAD_SUPPORT%%;;
26 - p "os_type" Sys.os_type;
27 + p "os_type" "Win32";
28 p "default_executable_name" default_executable_name;
29 p_bool "systhread_supported" systhread_supported;