Skip to content

Commit

Permalink
Revert [libcxx] r323453 - [cmake] [libcxx] Call llvm_setup_rpath() wh…
Browse files Browse the repository at this point in the history
…en adding shared libraries.

Shoaib Meenai pointed out this will break standalone builds when built without llvm.

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

llvm-svn: 323459
  • Loading branch information
donhinton committed Jan 25, 2018
1 parent bc595f5 commit 7e9453d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libcxx/lib/CMakeLists.txt
Expand Up @@ -222,7 +222,6 @@ set(LIBCXX_TARGETS)
# 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
Expand Down

0 comments on commit 7e9453d

Please sign in to comment.