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

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


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: df839cfda09dbadc26b8be635f27da75f1f27190
      https://github.com/llvm/llvm-project/commit/df839cfda09dbadc26b8be635f27da75f1f27190
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2020-01-22 (Wed, 22 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




More information about the All-commits mailing list