llvm-project
ed70ce56 - [lldb][CMake] Force OBJECT libraries to also be STATIC (#196222)

Commit
179 days ago
[lldb][CMake] Force OBJECT libraries to also be STATIC (#196222) When add_lldb_library is called with OBJECT, llvm_add_library would also produce a SHARED variant under BUILD_SHARED_LIBS=ON. That variant fails to link because a5a13ca29186 intentionally moved lldbDAP's LINK_LIBS to its consumers. Pass STATIC alongside OBJECT so the secondary variant is always an archive, matching the LLVMTableGenCommon pattern. Fixes BUILD_SHARED_LIBS=ON breakage reported on #196108.
Author
Parents
Loading