Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / src / myocamlbuild.ml @ 3b2bd83d

History | View | Annotate | Download (317 Bytes)

1
open Ocamlbuild_plugin
2
open Command
3
;;
4

    
5
dispatch begin function
6
| After_rules ->
7
    (* We declare external libraries *)
8
    ocaml_lib ~extern:true ~dir:"/Users/Teme/.opam/system/lib/ocamlgraph" "graph";
9
  if @CC_NOASNEEDED@ then
10
    flag ["ocaml"; "link"]
11
      (S [A"-cclib";A"-Wl,--no-as-needed"]);
12
| _ -> ()
13
end
14