Skip to content

Commit 8304b00

Browse files
authored
Merge pull request swiftlang#39750 from DougGregor/force-link-objc-back-deployed
Force-link the Objective-C library in the back-deployed concurrency libs
2 parents c092864 + 618f0de commit 8304b00

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)