Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

lustrec / myocamlbuild.ml.in @ 1e48ef45

History | View | Annotate | Download (295 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:"@OCAMLGRAPH_PATH@" "graph";
9
  if @CC_NOASNEEDED@ then
10
    flag ["ocaml"; "link"]
11
      (S [A"-cclib";A"-Wl,--no-as-needed"]);
12
| _ -> ()
13
end
14