Explorar o código

added -cclib shell32.lib for Extc.get_real_path on Windows

Nicolas Cannasse %!s(int64=13) %!d(string=hai) anos
pai
achega
be6c26d030
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      doc/install.ml

+ 1 - 0
doc/install.ml

@@ -96,6 +96,7 @@ let compile_libs() =
 	command ("ocamlc" ^ c_opts ^ " -I .. -I ../" ^ zlib_path ^ " extc_stubs.c");
 
 	let options = "-cclib ../ocaml/extc/extc_stubs" ^ obj_ext ^ " -cclib " ^ zlib ^ " extc.ml" in
+	let options = if Sys.os_type = "Win32" then options ^ " -cclib shell32.lib" else options in
 	if bytecode then command ("ocamlc -a -I .. -o extc.cma " ^ options);
 	if native then command ("ocamlopt -a -I .. -o extc.cmxa " ^ options);
 	Sys.chdir "../..";