@@ -58,7 +58,7 @@ index 184e6196918..ef5c3eafe69 100644
58
58
// progress.
59
59
};
60
60
diff --git a/lib/AST/CMakeLists.txt b/lib/AST/CMakeLists.txt
61
- index ec3fa2c853b..7ea1a1763b9 100644
61
+ index ec3fa2c853b..dcd3e95c5ae 100644
62
62
--- a/lib/AST/CMakeLists.txt
63
63
+++ b/lib/AST/CMakeLists.txt
64
64
@@ -58,7 +58,6 @@ add_swift_host_library(swiftAST STATIC
@@ -69,22 +69,21 @@ index ec3fa2c853b..7ea1a1763b9 100644
69
69
ImportCache.cpp
70
70
IndexSubset.cpp
71
71
InlinableText.cpp
72
- @@ -122,6 +121,14 @@ add_swift_host_library(swiftAST STATIC
72
+ @@ -122,6 +121,13 @@ add_swift_host_library(swiftAST STATIC
73
73
${SWIFTAST_LLVM_LINK_COMPONENTS}
74
74
)
75
75
76
76
+ add_swift_host_library(swiftIdentifier SHARED
77
77
+ Identifier.cpp
78
- + )
78
+ + LLVM_LINK_COMPONENTS
79
+ + core support)
79
80
+
80
- + if(${SWIFT_HOST_VARIANT_SDK} IN_LIST SWIFT_DARWIN_PLATFORMS)
81
- + target_link_options(swiftIdentifier PRIVATE "LINKER:-undefined,dynamic_lookup")
82
- + endif()
81
+ + target_link_libraries(swiftIdentifier PUBLIC clangBasic)
83
82
+
84
83
if(SWIFT_FORCE_OPTIMIZED_TYPECHECKER)
85
84
if(CMAKE_CXX_COMPILER_ID STREQUAL MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL MSVC)
86
85
target_compile_options(swiftAST PRIVATE /O2 /Ob2)
87
- @@ -152,7 +159 ,7 @@ if(NOT SWIFT_BUILD_ONLY_SYNTAXPARSERLIB)
86
+ @@ -152,7 +158 ,7 @@ if(NOT SWIFT_BUILD_ONLY_SYNTAXPARSERLIB)
88
87
endif()
89
88
90
89
target_link_libraries(swiftAST
0 commit comments