Skip to content

Commit d239340

Browse files
committed
[llvm] make DebugInfoLogicalViewTests and DebugInfoDWARFTests link against static libs
1 parent d1c1161 commit d239340

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

llvm/unittests/DebugInfo/DWARF/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ add_llvm_unittest(DebugInfoDWARFTests
2828
DWARFFormValueTest.cpp
2929
DWARFListTableTest.cpp
3030
DWARFLocationExpressionTest.cpp
31+
32+
DISABLE_LLVM_LINK_LLVM_DYLIB
3133
)
3234

33-
target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupport)
35+
target_link_libraries(DebugInfoDWARFTests PRIVATE LLVMTestingSupportStatic)

llvm/unittests/DebugInfo/LogicalView/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ add_llvm_unittest_with_input_files(DebugInfoLogicalViewTests
2222
LogicalElementsTest.cpp
2323
StringPoolTest.cpp
2424
WarningInternalTest.cpp
25+
26+
DISABLE_LLVM_LINK_LLVM_DYLIB
2527
)
2628

27-
target_link_libraries(DebugInfoLogicalViewTests PRIVATE LLVMTestingSupport)
29+
target_link_libraries(DebugInfoLogicalViewTests PRIVATE LLVMTestingSupportStatic)

0 commit comments

Comments
 (0)