Home | History | Annotate | Download | only in Chapter6
      1 open Ocamlbuild_plugin;;
      2 
      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";;
      8 
      9 flag ["link"; "ocaml"; "g++"] (S[A"-cc"; A"g++"; A"-cclib"; A"-rdynamic"]);;
     10 dep ["link"; "ocaml"; "use_bindings"] ["bindings.o"];;
     11