[all-commits] [llvm/llvm-project] 8fbd0e: [clang] [clang-repl] Fix linking against LLVMLineE...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Aug 6 12:44:22 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fbd0e2670f21403c923279e9cabcdb1d4dd8d18
      https://github.com/llvm/llvm-project/commit/8fbd0e2670f21403c923279e9cabcdb1d4dd8d18
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M clang/tools/clang-repl/CMakeLists.txt

  Log Message:
  -----------
  [clang] [clang-repl] Fix linking against LLVMLineEditor

LLVMLineEditor library is part of the LLVM dylib.  Move it into
LLVM_LINK_COMPONENTS to avoid duplicate linking when dylib is being
used.  This fixes building standalone clang against installed LLVM
without static libraries.

Differential Revision: https://reviews.llvm.org/D107558

(cherry picked from commit d99e9461b07988914cba573800cd1862f277e155)




More information about the All-commits mailing list