Skip to content

Commit df0bd2a

Browse files
committed
Distributed: correct dependency handling
The `Builtin_float` module is exported as `swift_Bultin_float`. Correct the linkage on all targets. Address part of the listed TODO and add a dependency on `swiftWinSDK` on Windows. This allows us to build `Distributed` properly in dynamic mode.
1 parent 12a4415 commit df0bd2a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Runtimes/Supplemental/Distributed/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ target_link_libraries(swiftDistributed PRIVATE
133133
swiftShims
134134
swiftCore
135135
swift_Concurrency
136-
builtin_float)
136+
swift_Builtin_float
137+
$<$<PLATFORM_ID:Windows>:swiftWinSDK>)
137138
# swiftDarwin/Libc/Platform
138139

139140
install(TARGETS swiftDistributed

0 commit comments

Comments
 (0)