Skip to content

Commit 618f0de

Browse files
committed
Force-link the Objective-C library in the back-deployed concurrency libs.
1 parent 4bf38ea commit 618f0de

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/BackDeployConcurrency/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ add_compile_definitions(SWIFT_CONCURRENCY_BACK_DEPLOYMENT)
4646
set(swift_concurrency_install_component back-deployment)
4747
set(swift_concurrency_options
4848
BACK_DEPLOYMENT_LIBRARY 5.5
49-
DARWIN_INSTALL_NAME_DIR "@rpath")
49+
DARWIN_INSTALL_NAME_DIR "@rpath"
50+
LINK_FLAGS -lobjc)
5051
set(swift_concurrency_extra_sources
5152
"../BackDeployConcurrency/Exclusivity.cpp"
5253
"../BackDeployConcurrency/Metadata.cpp"

0 commit comments

Comments
 (0)