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