1 Index: build-tree/ocaml-3.11.1/utils/clflags.ml
2 ===================================================================
3 --- build-tree.orig/ocaml-3.12.0/utils/clflags.ml 2010-01-07 04:00:11.000000000 +0100
4 +++ build-tree/ocaml-3.12.0/utils/clflags.ml 2010-01-07 04:00:24.000000000 +0100
7 let compile_only = ref false (* -c *)
8 and output_name = ref (None : string option) (* -o *)
9 -and include_dirs = ref ([] : string list)(* -I *)
10 +and include_dirs = ref (["@mingw32libdir@"] : string list)(* -I *)
11 and no_std_include = ref false (* -nostdlib *)
12 and print_types = ref false (* -i *)
13 and make_archive = ref false (* -a *)
14 --- build-tree.orig/ocaml-3.12.0/tools/ocamlmklib.mlp 2010-02-22 20:15:57.000000000 -0600
15 +++ build-tree/ocaml-3.12.0/tools/ocamlmklib.mlp 2010-02-22 20:16:20.000000000 -0600
17 and failsafe = ref false (* whether to fall back on static build only *)
18 and c_libs = ref [] (* libs to pass to mksharedlib and ocamlc -cclib *)
19 and c_opts = ref [] (* options to pass to mksharedlib and ocamlc -ccopt *)
20 -and ld_opts = ref [] (* options to pass only to the linker *)
21 +and ld_opts = ref ["-I @mingw32libdir@"] (* options to pass only to the linker *)
22 and ocamlc = ref (compiler_path "ocamlc")
23 and ocamlopt = ref (compiler_path "ocamlopt")
24 and output = ref "a" (* Output name for Caml part of library *)