Skip to content

Commit ff25872

Browse files
committed
Add another speculative change to try to fix linking issues on Linux.
In 859b779 some changes were made which improved the situation, but we still have an issue with the order libraries are specified for linking. Since AST depends on clangCodeGen, which depends on LLVMCoverage, add LLVMCoverage here as an explicit dependency. It seems like that dependency is missing (from CMake's perspective), which is why we end up with an arbitrary order for those two libraries.
1 parent 859b779 commit ff25872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ add_swift_library(swiftAST
6868
clangBasic
6969

7070
COMPONENT_DEPENDS
71-
bitreader bitwriter irreader debuginfoDWARF
71+
bitreader bitwriter coverage irreader debuginfoDWARF
7272
profiledata instrumentation object objcarcopts mc mcparser
7373
bitreader bitwriter ipo option core support ${LLVM_TARGETS_TO_BUILD}
7474
)

0 commit comments

Comments
 (0)