Revision c4f14d0a
Added by Pierre-Loïc Garoche almost 9 years ago
src/myocamlbuild.ml.in | ||
---|---|---|
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 |
|
Also available in: Unified diff
Removed file thanks to the use of ocamlfind