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

tstellar via All-commits all-commits at lists.llvm.org
Wed Jan 22 16:21:47 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e429b691ec89de09324d6af33e35f1491f45b7d
      https://github.com/llvm/llvm-project/commit/3e429b691ec89de09324d6af33e35f1491f45b7d
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2020-01-23 (Thu, 23 Jan 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: mgorny, cfe-commits

Tags: #clang

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

(cherry picked from commit df839cfda09dbadc26b8be635f27da75f1f27190)




More information about the All-commits mailing list