Skip to content

Commit 504cfb9

Browse files
committed
link libswift later
1 parent 515cf21 commit 504cfb9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

lib/DriverTool/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ set(driver_common_libs
1212
swiftDriver
1313
swiftFrontendTool
1414
swiftSymbolGraphGen
15-
LLVMBitstreamReader
16-
libswift)
15+
LLVMBitstreamReader)
1716

1817
add_swift_host_library(swiftDriverTool STATIC
1918
${driver_sources_and_options}

tools/driver/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ add_swift_host_tool(swift-frontend
66
)
77
target_link_libraries(swift-frontend
88
PUBLIC
9-
swiftDriverTool)
9+
swiftDriverTool
10+
libswift)
1011

1112
# Create a `swift-driver` symlinks adjacent to the `swift-frontend` executable
1213
# to ensure that `swiftc` forwards to the standalone driver when invoked.

tools/libSwiftScan/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ add_dependencies(libSwiftScan
1616
swiftDependencyScan)
1717

1818
target_link_libraries(libSwiftScan PRIVATE
19-
swiftDependencyScan)
19+
swiftDependencyScan
20+
swiftDriverTool)
2021

2122
set_target_properties(libSwiftScan
2223
PROPERTIES

0 commit comments

Comments
 (0)