File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
tools/SourceKit/tools/SwiftSourceKitClient Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -1656,14 +1656,9 @@ function(add_swift_library name)
1656
1656
# Add dependencies on the (not-yet-created) custom lipo target.
1657
1657
foreach (DEP ${SWIFTLIB_LINK_LIBRARIES} )
1658
1658
if (NOT "${DEP} " STREQUAL "icucore" )
1659
- # Avoid appending SDK kinds after sourcekit
1660
- if ("${DEP} " MATCHES "^sourcekitd" )
1661
- add_dependencies (${VARIANT_NAME} "sourcekitd" )
1662
- else ()
1663
1659
add_dependencies (${VARIANT_NAME}
1664
1660
"${DEP} -${SWIFT_SDK_${sdk} _LIB_SUBDIR}" )
1665
1661
endif ()
1666
- endif ()
1667
1662
endforeach ()
1668
1663
1669
1664
if (SWIFTLIB_IS_STDLIB AND SWIFTLIB_STATIC )
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ add_swift_library(swiftSwiftLang SHARED
9
9
SourceKitdResponse.swift
10
10
SourceKitdUID.swift
11
11
12
- LINK_LIBRARIES sourcekitd
12
+ PRIVATE_LINK_LIBRARIES sourcekitd
13
13
SWIFT_COMPILE_FLAGS ${EXTRA_COMPILE_FLAGS}
14
14
LINK_FLAGS ${EXTRA_LINKER_FLAGS}
15
15
SWIFT_MODULE_DEPENDS Foundation
You can’t perform that action at this time.
0 commit comments