We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29672c5 + 7dcebb2 commit 291fe21Copy full SHA for 291fe21
cmake/modules/AddPureSwift.cmake
@@ -141,6 +141,12 @@ function(add_pure_swift_host_library name)
141
set_property(TARGET ${name}
142
PROPERTY BUILD_WITH_INSTALL_RPATH YES)
143
144
+ if(APSHL_SHARED AND CMAKE_SYSTEM_NAME STREQUAL Darwin)
145
+ # Allow install_name_tool to update paths (for rdar://109473564)
146
+ set_property(TARGET ${name} APPEND_STRING PROPERTY
147
+ LINK_FLAGS " -Xlinker -headerpad_max_install_names")
148
+ endif()
149
+
150
# Respect LLVM_COMMON_DEPENDS if it is set.
151
#
152
# LLVM_COMMON_DEPENDS if a global variable set in ./lib that provides targets
0 commit comments