1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/bindings/ocaml
Peter Zotov 4ae3b7518c [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.

llvm-svn: 195834
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