Skip to content

Commit e21296b

Browse files
committed
Force-link the Objective-C library in the back-deployed concurrency libs.
1 parent e76aff4 commit e21296b

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
@@ -44,7 +44,8 @@ add_compile_definitions(SWIFT_CONCURRENCY_BACK_DEPLOYMENT)
4444
set(swift_concurrency_install_component back-deployment)
4545
set(swift_concurrency_options
4646
BACK_DEPLOYMENT_LIBRARY 5.5
47-
DARWIN_INSTALL_NAME_DIR "@rpath")
47+
DARWIN_INSTALL_NAME_DIR "@rpath"
48+
LINK_FLAGS -lobjc)
4849
set(swift_concurrency_extra_sources
4950
"../BackDeployConcurrency/Exclusivity.cpp"
5051
"../BackDeployConcurrency/Metadata.cpp"

0 commit comments

Comments
 (0)