[OCaml] Allow out-of-tree builds of LLVM bindings.
authorPeter Zotov <whitequark@whitequark.org>
Tue, 13 Jan 2015 12:17:56 +0000 (12:17 +0000)
committerPeter Zotov <whitequark@whitequark.org>
Tue, 13 Jan 2015 12:17:56 +0000 (12:17 +0000)
commit343991dd8bea92af1f20bcad9e24d3d5578a7cb5
tree3ca26eaf53405c1e21362085bf489dcebaa3a768
parent4a445c047f26e3e41dfabd4014c03807330a4c3e
[OCaml] Allow out-of-tree builds of LLVM bindings.

In order to use this feature, configure LLVM as usual,
but then build and install it as:

   make all install SYSTEM_LLVM_CONFIG=llvm-config

where llvm-config is the llvm-config binary installed on your
system (possibly llvm-config-VERSION on e.g. Debian).

llvm-svn: 225787
llvm/bindings/ocaml/Makefile.ocaml