llvm.org GIT mirror llvm / 2f5b5ca
Merging r309481: ------------------------------------------------------------------------ r309481 | mgorny | 2017-07-28 23:46:45 -0700 (Fri, 28 Jul 2017) | 13 lines [OCaml] Install dynamic libraries in 'stubdirs' directory Install the OCaml dynamic libraries in the 'stubdirs' directory rather than the llvm subdirectory in order to fix running executables created by ocamlc. Otherwise, the executables fail to run being unable to locate the libraries (unless the LLVM directory is explicitly added to LD_LIBRARY_PATH). The staging directories are not altered since they work for our development setup anyway, and installing into two directories would unnecessarily make the code more complex. Differential Revision: https://reviews.llvm.org/D35995 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_50@309592 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
203203 PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE
204204 GROUP_READ GROUP_EXECUTE
205205 WORLD_READ WORLD_EXECUTE
206 DESTINATION "${LLVM_OCAML_INSTALL_PATH}/llvm")
206 DESTINATION "${LLVM_OCAML_INSTALL_PATH}/stublibs")
207207
208208 foreach( install_file ${install_files} ${install_shlibs} )
209209 get_filename_component(filename "${install_file}" NAME)