[PATCH] D42459: [cmake] [libcxx] Call llvm_setup_rpath() when adding shared libraries.

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 25 10:17:43 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rCXX323453: [cmake] [libcxx] Call llvm_setup_rpath() when adding shared libraries. (authored by dhinton, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D42459?vs=131195&id=131478#toc

Repository:
  rCXX libc++

https://reviews.llvm.org/D42459

Files:
  lib/CMakeLists.txt


Index: lib/CMakeLists.txt
===================================================================
--- lib/CMakeLists.txt
+++ lib/CMakeLists.txt
@@ -222,6 +222,7 @@
 # Build the shared library.
 if (LIBCXX_ENABLE_SHARED)
   add_library(cxx_shared SHARED $<TARGET_OBJECTS:cxx_objects>)
+  llvm_setup_rpath(cxx_shared)
   target_link_libraries(cxx_shared ${LIBCXX_LIBRARIES})
   set_target_properties(cxx_shared
     PROPERTIES


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42459.131478.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180125/53a3d01b/attachment-0001.bin>


More information about the cfe-commits mailing list