Skip to content

Commit 1bad333

Browse files
committed
Revert "Ensure that the _Concurrency library re-exportes SwiftNativeNSObject."
This reverts commit f821a38. (cherry picked from commit 9f2b776)
1 parent 14be8f7 commit 1bad333

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

stdlib/public/CMakeLists.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR)
8383
INSTALL_IN_COMPONENT never_install)
8484
endif()
8585

86-
if(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
87-
list(APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS
88-
"-Wl,-reexported_symbols_list,${CMAKE_CURRENT_SOURCE_DIR}/Concurrency/ReexportedSymbols")
89-
endif()
90-
91-
list(APPEND SWIFT_RUNTIME_CONCURRENCY_SWIFT_LINK_FLAGS "${SWIFT_RUNTIME_SWIFT_LINK_FLAGS}")
92-
9386
if(SWIFT_BUILD_STDLIB)
9487
# These must be kept in dependency order so that any referenced targets
9588
# exist at the time we look for them in add_swift_*.
@@ -124,3 +117,10 @@ if(SWIFT_BUILD_SDK_OVERLAY)
124117
add_subdirectory(Windows)
125118
endif()
126119
endif()
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}")

0 commit comments

Comments
 (0)