prevent findlib from being initialized twice
Ignore-this: 5957b6f8068ac6f1234b73bf3fbb9922 darcs-hash:20120122143706-c41ad-9fb04457e9c3454c4910e7c46ccebc2e192144fe
This commit is contained in:
parent
f5663a80f4
commit
26a241e376
|
@ -257,6 +257,9 @@ For a complete description of utop, look at the utop(1) manual page."));
|
|||
+-----------------------------------------------------------------+ *)
|
||||
|
||||
let () =
|
||||
(* Do not load packages linked with the toplevel. *)
|
||||
Topfind.don't_load_deeply ["utop"; "findlib"; "lambda-term"]
|
||||
(* Add findlib path so Topfind is available and it won't be
|
||||
initialized twice if the user does [#use "topfind"]. *)
|
||||
Topdirs.dir_directory (Findlib.package_directory "findlib");
|
||||
(* Make UTop accessible. *)
|
||||
Topdirs.dir_directory (Findlib.package_directory "utop")
|
||||
|
||||
|
|
Loading…
Reference in New Issue