Skip to content

Commit 9f2b776

Browse files
committed
Revert "Ensure that the _Concurrency library re-exportes SwiftNativeNSObject."
This reverts commit f821a38.
1 parent ee50783 commit 9f2b776

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
@@ -79,13 +79,6 @@ if(SWIFT_BUILD_STDLIB OR SWIFT_BUILD_REMOTE_MIRROR)
7979
INSTALL_IN_COMPONENT never_install)
8080
endif()
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-
8982
if(SWIFT_BUILD_STDLIB)
9083
# These must be kept in dependency order so that any referenced targets
9184
# 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)