File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -79,6 +79,13 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR)
7979 INSTALL_IN_COMPONENT never_install)
8080endif ()
8181
82+ if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
83+ list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS
84+ "-Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR} /Concurrency/ReexportedSymbols" )
85+ endif ()
86+
87+ list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} " )
88+
8289if (SWIFT_BUILD_STDLIB)
8390 # These must be kept in dependency order so that any referenced targets
8491 # exist at the time we look for them in add_swift_*.
@@ -117,10 +124,3 @@ if(SWIFT_BUILD_SDK_OVERLAY)
117124 add_subdirectory (Windows)
118125 endif ()
119126endif ()
120-
121- if (CMAKE_SYSTEM_NAME STREQUAL "Darwin" )
122- list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS
123- "-Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR} /Concurrency/ReexportedSymbols" )
124- endif ()
125-
126- list (APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS} " )
You can’t perform that action at this time.
0 commit comments