mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Avoid adding redundant temporary RUNPATH to builder's stdlib
Many shared libs and executables are only run after stdlib/runtime are built. They don't need to link with builders stdlib at all.
This commit is contained in:
@@ -303,14 +303,6 @@ macro(add_sourcekit_library name)
|
||||
DESTINATION "bin"
|
||||
COMPONENT "${SOURCEKITLIB_INSTALL_IN_COMPONENT}")
|
||||
|
||||
if(SOURCEKITLIB_SHARED)
|
||||
swift_install_strip_builder_rpath(
|
||||
TARGETS ${name}
|
||||
DESTINATION "lib${LLVM_LIBDIR_SUFFIX}"
|
||||
COMPONENT "${SOURCEKITLIB_INSTALL_IN_COMPONENT}"
|
||||
)
|
||||
endif()
|
||||
|
||||
swift_install_in_component(FILES ${SOURCEKITLIB_HEADERS}
|
||||
DESTINATION "include/SourceKit"
|
||||
COMPONENT "${SOURCEKITLIB_INSTALL_IN_COMPONENT}")
|
||||
|
||||
Reference in New Issue
Block a user