2011-07-27 07:17:02 -07:00
|
|
|
(***********************************************************************)
|
2012-08-01 07:47:00 -07:00
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* ocamlbuild *)
|
|
|
|
(* *)
|
|
|
|
(* Nicolas Pouillard, Berke Durak, projet Gallium, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
|
|
|
(* Copyright 2007 Institut National de Recherche en Informatique et *)
|
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2013-12-12 09:38:43 -08:00
|
|
|
let bindir = ref Ocamlbuild_config.bindir;;
|
2009-03-05 06:33:06 -08:00
|
|
|
let libdir = ref begin
|
2009-05-24 02:11:39 -07:00
|
|
|
Filename.concat
|
|
|
|
(try Sys.getenv "OCAMLLIB"
|
2013-12-12 09:38:43 -08:00
|
|
|
with Not_found -> Ocamlbuild_config.libdir)
|
2009-05-24 02:11:39 -07:00
|
|
|
"ocamlbuild"
|
2009-03-05 06:33:06 -08:00
|
|
|
end;;
|