[all-commits] [llvm/llvm-project] 525a40: [LLD] [ELF] Fix building with LLVM_LINK_LLVM_DYLIB...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Sep 22 05:14:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 525a400c7ca5725b4ab456b222176f580caf35e7
      https://github.com/llvm/llvm-project/commit/525a400c7ca5725b4ab456b222176f580caf35e7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-09-22 (Thu, 22 Sep 2022)

  Changed paths:
    M lld/ELF/CMakeLists.txt

  Log Message:
  -----------
  [LLD] [ELF] Fix building with LLVM_LINK_LLVM_DYLIB since zstd was taken into use

This fixes a regression since fa74144c64dff6b145b0b3fa9397f913ddaa87bf;
even if we're linking to the dylib (which handles all the dependencies
in LLVMSupport), we're now also directly referencing zstd from
lld/ELF, and thus need to explicitly express our dependency on it.




More information about the All-commits mailing list