[PATCH] D94941: Add minor version to libclang.so and libclang-cpp.so SONAME

Tom Stellard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 20 13:50:11 PST 2021


tstellar added inline comments.


================
Comment at: clang/tools/clang-shlib/CMakeLists.txt:54
+      PROPERTIES
+      SOVERSION ${LIBCLANG_LIBRARY_VERSION})
----------------
cuviper wrote:
> I think you also need `VERSION` here, or else it symlinks back to `.so.11`.
I think add_clang_library is setting VERSION.  This is what I get when I build:

lib/libclang-cpp.so -> libclang-cpp.so.11.1
lib/libclang.so -> libclang.so.11.1



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94941/new/

https://reviews.llvm.org/D94941



More information about the cfe-commits mailing list