Instead of setting libclang.so's SOVERSION to CLANG_MAJOR_VERSION
when CLANG_FORCE_MATCHING_LIBCLANG_SOVERSION is enabled, do not override
it and let LLVM set the correct SOVERSION. This fixes libclang.so
missing LLVM_VERSION_SUFFIX, and harmonizes the SOVERSION with other
shared libraries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
It fixes a real-life issue I hit with Doxygen, as you know, so I'm happy with this - and I don't see a reason to treat libclang specially. I'll wait to see what any other reviewers say first though.
Comment Actions
I don't understand this well, though. Is CLANG_VERSION_MAJOR wrong or not defined in some cases?
Comment Actions
It's about LLVM_VERSION_SUFFIX. Normally, SOVERSION for all libraries is ${LLVM_VERSION_MAJOR}${LLVM_VERSION_SUFFIX}.