aboutsummaryrefslogtreecommitdiff
path: root/kernel/nativelib.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-02-12 11:55:54 +0100
committerEmilio Jesus Gallego Arias2020-02-26 16:10:40 -0500
commitd8ee64ace969287dbec6ba2777c08f19a25cab26 (patch)
tree13714583d99546e125bf31d4347d08e8ea3838c1 /kernel/nativelib.mli
parent9d52407e9fccf27d02d952d40f3758dfe1898767 (diff)
[native compiler] Allow to set OCaml include dirs for compilation
`Nativelib` currently assumes that objects are built in some particular directories, but this is not true in some cases, for example, when building with Dune. We add a new option `-nI` to allow clients to specify the OCaml include dirs.
Diffstat (limited to 'kernel/nativelib.mli')
-rw-r--r--kernel/nativelib.mli1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/nativelib.mli b/kernel/nativelib.mli
index 4d95f822e7..155fde54e9 100644
--- a/kernel/nativelib.mli
+++ b/kernel/nativelib.mli
@@ -14,6 +14,7 @@ used by the native compiler. *)
(* Directory where compiled files are stored *)
val output_dir : CUnix.physical_path ref
+val include_dirs : CUnix.physical_path list ref
val get_load_paths : (unit -> string list) ref