Nicolas Cannasse 15 years ago
parent
commit
4149386924
1 changed files with 2 additions and 2 deletions
  1. 2 2
      doc/install.ml

+ 2 - 2
doc/install.ml

@@ -96,8 +96,8 @@ 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
-	if bytecode then command ("ocamlc -a -o extc.cma " ^ options);
-	if native then command ("ocamlopt -a -o extc.cmxa " ^ options);
+	if bytecode then command ("ocamlc -a -I .. -o extc.cma " ^ options);
+	if native then command ("ocamlopt -a -I .. -o extc.cmxa " ^ options);
 	Sys.chdir "../..";
 
 	(* SWFLIB *)