Open vasilisp opened 8 years ago
Here is an inelegant quickfix.
diff --git a/build/build.ml b/build/build.ml
index 84f5c5d..55be730 100644
--- a/build/build.ml
+++ b/build/build.ml
@@ -70,6 +70,9 @@ let _ = dispatch (fun x ->
add_syntax ~needs "pa_eliom_client_server" "src/syntax/";
add_syntax ~needs "pa_eliom_type_filter" "src/syntax/";
+ pflag ["ocaml";"compile"] "depends_on" (fun name -> S [A "-I";P (Filename.dirname name) ]);
+ pdep ["ocaml";"compile"] "depends_on" (fun name -> [name]);
+
(* link executable aliases *)
let link_exec f t =
link (Printf.sprintf "src/tools/%s.byte" f) (Printf.sprintf "src/tools/%s.byte" t);
diff --git a/src/_tags b/src/_tags
index e63ac2c..5dbb383 100644
--- a/src/_tags
+++ b/src/_tags
@@ -32,12 +32,12 @@ true:keep_locs
<lib/server/extensions/*.ml{,i}>:thread
<lib/server/extensions/*.ml{,i}>:package(lwt,ocsigenserver,ocsigenserver.ext,tyxml,calendar)
<lib/server/extensions/*.ml{,i}>:syntax(camlp4o),package(deriving.syntax.std, js_of_ocaml.deriving.syntax),pkg_pa_include,sig_inc(../src/lib)
-<lib/server/extensions/*.ml{,i}>:I(src/lib/server)
+<lib/server/extensions/*.ml{,i}>:depends_on(src/lib/server/server.cma)
<lib/server/monitor/*.ml>:syntax(camlp4o), package(lwt.syntax)
<lib/server/monitor/*.ml{,i}>:thread
<lib/server/monitor/*.ml{,i}>:package(lwt,ocsigenserver,ocsigenserver.ext,tyxml,calendar)
-<lib/server/monitor/*.ml{,i}>:I(src/lib/server)
+<lib/server/monitor/*.ml{,i}>:depends_on(src/lib/server/server.cma)
<syntax/pa_*.*>: syntax(camlp4o),package(camlp4.quotations.o,camlp4.extend,bytes)
<syntax/pa_*.ml{,i}>: I(+camlp4/Camlp4Parsers)
make byte
eventually fails with:I haven't investigated this yet.
@glondu brought this up in the mailing list for 4.2, but unfortunately it affects
master
as well.