forked from OSchip/llvm-project
Revert [libcxx] r323453 - [cmake] [libcxx] Call llvm_setup_rpath() when 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
This commit is contained in:
parent
bc595f5702
commit
7e9453d583
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue