Commit 13dfce6c authored by Pietro Abate's avatar Pietro Abate
Browse files

[r2005-01-17 14:37:22 by afrisch] Autodetect Debian compiler-libs

Original author: afrisch
Date: 2005-01-17 14:37:22+00:00
parent b345bff9
......@@ -189,9 +189,10 @@ let ml_interface =
let dir1 = !(List.assoc "mliface" vars) in
let dirs =
let std = ocaml_stdlib () in
let d = Filename.concat (Filename.chop_suffix std "std-lib")
"compiler-lib" in
d :: src_dirs in
Filename.concat (Filename.chop_suffix std "std-lib") "compiler-lib" ::
(* GODI *)
Filename.concat std "compiler-libs" :: (* Debian *)
src_dirs in
let dirs = if dir1 = "" then dirs else dir1 :: dirs in
print "Looking for ocaml compiler modules ...";
let rec loop = function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment