Skip to content

Commit

Permalink
[cmake] [libcxxabi] Call llvm_setup_rpath() when adding shared librar…
Browse files Browse the repository at this point in the history
…ies.

Clang and llvm already use llvm_setup_rpath(), so this change will
help standarize rpath usage across all projects.

Differential Revision: https://reviews.llvm.org/D42460

llvm-svn: 323455
  • Loading branch information
donhinton committed Jan 25, 2018
1 parent 8a816f0 commit 0106b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcxxabi/src/CMakeLists.txt
Expand Up @@ -127,6 +127,7 @@ set(LIBCXXABI_TARGETS)
# Build the shared library.
if (LIBCXXABI_ENABLE_SHARED)
add_library(cxxabi_shared SHARED $<TARGET_OBJECTS:cxxabi_objects>)
llvm_setup_rpath(cxxabi_shared)
target_link_libraries(cxxabi_shared ${LIBCXXABI_LIBRARIES})
set_target_properties(cxxabi_shared
PROPERTIES
Expand Down

0 comments on commit 0106b43

Please sign in to comment.