Skip to content

Commit 8733205

Browse files
authored
Merge pull request #79269 from compnerd/closed
Runtimes: use the static module constructor in swiftCore
2 parents 14bd0b0 + db4fd6d commit 8733205

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtimes/Core/core/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ target_link_libraries(swiftCore
306306
swiftDemangling
307307
swiftShims
308308
swiftStdlibStubs
309-
swiftThreading)
309+
swiftThreading
310+
$<$<NOT:$<PLATFORM_ID:Darwin>>:swiftrt$<$<PLATFORM_ID:Windows>:T>>)
310311
target_link_options(swiftCore PRIVATE
311312
-nostartfiles)
312313
if(NOT POLICY CMP0157)

0 commit comments

Comments
 (0)