Skip to content

Commit 75a5831

Browse files
committed
Build the back-deployed _Concurrency library with an @rpath install name
When linking against the back-deployed _Concurrency library, ensure that clients record an `@rpath`-relative dependency.
1 parent aa3e7fb commit 75a5831

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stdlib/public/BackDeployConcurrency/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ endforeach()
3939
# Build the concurrency library for back deployment.
4040
add_compile_definitions(SWIFT_CONCURRENCY_BACK_DEPLOYMENT)
4141
set(swift_concurrency_install_component back-deployment)
42-
set(swift_concurrency_options BACK_DEPLOYMENT_LIBRARY 5.5)
42+
set(swift_concurrency_options
43+
BACK_DEPLOYMENT_LIBRARY 5.5
44+
DARWIN_INSTALL_NAME_DIR "@rpath")
4345

4446
add_subdirectory(../Concurrency stdlib/public/BackDeployConcurrency)

0 commit comments

Comments
 (0)