[all-commits] [llvm/llvm-project] ed70ce: [lldb][CMake] Force OBJECT libraries to also be ST...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed May 6 19:53:04 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed70ce563c7f4e7d510b6ad2e7ec10a91c8a436c
      https://github.com/llvm/llvm-project/commit/ed70ce563c7f4e7d510b6ad2e7ec10a91c8a436c
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-05-06 (Wed, 06 May 2026)

  Changed paths:
    M lldb/cmake/modules/AddLLDB.cmake

  Log Message:
  -----------
  [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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list