llvm/bindings/ocaml
Peter Zotov 4e05282ec5 [OCaml] Embed rpath into stub libraries and native executables
This commit embeds a set of linker flags with hardcoded paths to
the LLVM shared library on --enable-shared builds into .cmxa files
and stub dynamic libraries. This solution closely follows existing
rules for rpath in the LLVM tools, which had to be modified because
of differences in toolchain.

Without this patch, OCaml tests as well as opam bindings broke,
as neither of those updates LD_LIBRARY_PATH to include
the $prefix/lib directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195834 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-27 11:03:18 +00:00
..
analysis OCaml bindings: formatting 2013-11-01 00:26:01 +00:00
backends [OCaml] Unbreak make install by providing ocamldoc target 2013-11-21 10:10:16 +00:00
bitreader OCaml bindings: formatting 2013-11-01 00:26:01 +00:00
bitwriter OCaml bindings: formatting 2013-11-01 00:26:01 +00:00
executionengine [OCaml] Refactor Llvm_target interface 2013-11-15 02:51:44 +00:00
irreader [OCaml] Impement Llvm_irreader, bindings to LLVM assembly parser 2013-11-06 09:21:25 +00:00
linker [OCaml] Llvm_linker: do not use external in module interface 2013-11-05 09:13:39 +00:00
llvm [OCaml] Expose LLVM's fatal error and stacktrace APIs 2013-11-14 06:34:13 +00:00
target [OCaml] Add Target and TargetMachine bindings to Llvm_target 2013-11-15 02:51:57 +00:00
transforms [OCaml] implement Llvm_passmgr_builder, bindings for PassManagerBuilder 2013-11-04 01:39:42 +00:00
Makefile [OCaml] Fix building of stub libraries 2013-11-15 02:51:27 +00:00
Makefile.ocaml [OCaml] Embed rpath into stub libraries and native executables 2013-11-27 11:03:18 +00:00