[all-commits] [llvm/llvm-project] e2c0c7: [cmake] Fix clang builds with BUILD_SHARED=ON and ...

tstellar via All-commits all-commits at lists.llvm.org
Mon Feb 10 04:34:52 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e2c0c70101ae4419917b232beae37b3d3a713b0c
      https://github.com/llvm/llvm-project/commit/e2c0c70101ae4419917b232beae37b3d3a713b0c
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2020-02-10 (Mon, 10 Feb 2020)

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

  Log Message:
  -----------
  [cmake] Fix clang builds with BUILD_SHARED=ON and CLANG_LINK_CLANG_DYLIB=ON

Summary:
We were linking all the clang objects and shared libraries into
libclang-cpp.so, which was causing the command line options to be
registered twice.

Reviewers: beanz, mgorny

Reviewed By: beanz, mgorny

Subscribers: merge_guards_bot, mgorny, cfe-commits

Tags: #clang

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

(cherry picked from commit ebcf25ea8100fc9987fd1edd1975194addc2fc05)




More information about the All-commits mailing list