aboutsummaryrefslogtreecommitdiff
path: root/tools/coqdep.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-02-08 13:34:02 +0100
committerGaëtan Gilbert2019-02-08 13:34:02 +0100
commit6c06f36b2dd1812454d40cbde1da28e1ea8be67e (patch)
tree62782d00b4c5781caf89dfc08e804f220e6cc790 /tools/coqdep.ml
parent99c1d7b0ae1beed66fe8dd6a06db84dc0c8322d8 (diff)
Make boot flag into a normal option (no global flag).
Diffstat (limited to 'tools/coqdep.ml')
-rw-r--r--tools/coqdep.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/coqdep.ml b/tools/coqdep.ml
index 4e80caa4cc..5f8cc99ed1 100644
--- a/tools/coqdep.ml
+++ b/tools/coqdep.ml
@@ -530,7 +530,8 @@ let coqdep () =
add_rec_dir_import (fun _ -> add_caml_known) "theories" ["Coq"];
add_rec_dir_import (fun _ -> add_caml_known) "plugins" ["Coq"];
end else begin
- Envars.set_coqlib ~fail:(fun msg -> raise (CoqlibError msg));
+ (* option_boot is actually always false in this branch *)
+ Envars.set_coqlib ~boot:!option_boot ~fail:(fun msg -> raise (CoqlibError msg));
let coqlib = Envars.coqlib () in
add_rec_dir_import add_coqlib_known (coqlib//"theories") ["Coq"];
add_rec_dir_import add_coqlib_known (coqlib//"plugins") ["Coq"];