Skip to content

Commit 05e4a10

Browse files
committed
[CMake] Remove unnecessary padding from RUNPATH in Linux
This was needed for rewriting RUNPATH. swift now build syntax libraries via 'FecthcContent', so RUNPATH are not rewritten.
1 parent 19b95e6 commit 05e4a10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

cmake/modules/AddSwiftHostLibrary.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,6 @@ function(add_swift_syntax_library name)
110110
# Allow install_name_tool to update paths (for rdar://109473564)
111111
set_property(TARGET ${name} APPEND_STRING PROPERTY
112112
LINK_FLAGS " -Xlinker -headerpad_max_install_names")
113-
elseif (CMAKE_SYSTEM_NAME STREQUAL Linux)
114-
# Make some room to update paths.
115-
set_property(TARGET ${name} APPEND PROPERTY
116-
INSTALL_RPATH ":::::::::::::::::::::::::::::::::::::::::::::::::::::::")
117113
endif()
118114
endif()
119115

0 commit comments

Comments
 (0)