Skip to content

Commit f581559

Browse files
committed
stdlib: repair the Windows build
The recent change to enable the stack traces requires a dependency on DbgHelp which we were not linking against. Add the link.
1 parent 4ced0af commit f581559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ elseif(SWIFT_PRIMARY_VARIANT_SDK STREQUAL LINUX)
263263
list(APPEND swift_core_private_link_libraries swiftImageInspectionShared)
264264
endif()
265265
elseif(SWIFT_PRIMARY_VARIANT_SDK STREQUAL WINDOWS)
266-
list(APPEND swift_core_private_link_libraries shell32)
266+
list(APPEND swift_core_private_link_libraries shell32;DbgHelp)
267267
endif()
268268

269269
option(SWIFT_CHECK_ESSENTIAL_STDLIB

0 commit comments

Comments
 (0)