Skip to content

Commit

Permalink
Revert "[cmake] [compiler-rt] Call llvm_setup_rpath() when adding sha…
Browse files Browse the repository at this point in the history
…red libraries."

This reverts commit 78fd93e as
a follow up to D91099.
  • Loading branch information
petrhosek committed Jun 22, 2021
1 parent 356d6b7 commit 21c008d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions compiler-rt/cmake/Modules/AddCompilerRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ function(add_compiler_rt_runtime name type)
target_link_libraries(${libname} PRIVATE ${builtins_${libname}})
endif()
if(${type} STREQUAL "SHARED")
if(COMMAND llvm_setup_rpath)
llvm_setup_rpath(${libname})
endif()
if(WIN32 AND NOT CYGWIN AND NOT MINGW)
set_target_properties(${libname} PROPERTIES IMPORT_PREFIX "")
set_target_properties(${libname} PROPERTIES IMPORT_SUFFIX ".lib")
Expand Down

0 comments on commit 21c008d

Please sign in to comment.