[lldb] Don't link TestingSupport as a component (#184310)

This doesn't work with dylib builds, because TestingSupport is not part
of the dylib. Instead, we should link it via LINK_LIBS, like other tests
already do.

(cherry picked from commit d1c563beee)
This commit is contained in:
Nikita Popov 2026-03-03 11:32:26 +01:00 committed by Douglas Yung
parent 395205394e
commit e693f0fe63
No known key found for this signature in database
GPG key ID: 316C56D064CACBA5

View file

@ -18,7 +18,6 @@ add_lldb_unittest(TargetTests
LINK_COMPONENTS
Support
TestingSupport
LINK_LIBS
lldbCore
lldbHost
@ -33,6 +32,7 @@ add_lldb_unittest(TargetTests
lldbSymbol
lldbUtility
lldbUtilityHelpers
LLVMTestingSupport
)
set(test_inputs