1 open Ocamlbuild_plugin
;;
3 ocaml_lib ~extern
:true "llvm";;
4 ocaml_lib ~extern
:true "llvm_analysis";;
5 ocaml_lib ~extern
:true "llvm_executionengine";;
6 ocaml_lib ~extern
:true "llvm_target";;
7 ocaml_lib ~extern
:true "llvm_scalar_opts";;
9 flag
["link"; "ocaml"; "g++"] (S
[A
"-cc"; A
"g++"; A
"-cclib"; A
"-rdynamic"]);;
10 dep
["link"; "ocaml"; "use_bindings"] ["bindings.o"];;