Skip to content

Commit 41b043e

Browse files
authored
Merge pull request #79227 from compnerd/implicit-explicit
Runtimes: remove the explicit linking in the build system
2 parents fef7985 + c18d6bb commit 41b043e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Runtimes/Core/core/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,9 +318,7 @@ if(NOT POLICY CMP0157)
318318
$<TARGET_OBJECTS:swiftThreading>)
319319
endif()
320320

321-
if(WIN32)
322-
target_link_libraries(swiftCore PRIVATE shell32 DbgHelp Synchronization)
323-
elseif(NOT APPLE AND NOT LINUX AND NOT ANDROID AND UNIX)
321+
if(NOT ANDROID AND NOT APPLE AND NOT LINUX AND NOT WIN32 AND UNIX)
324322
find_library(EXECINFO_LIBRARY execinfo)
325323
target_link_libraries(swiftCore PRIVATE "${EXECINFO_LIBRARY}")
326324
endif()

0 commit comments

Comments
 (0)