This fixes building on OpenBSD. Having a string at the end of a filename (.e.g. libclang.so.15.0.0git) of a library like this is not valid and breaks linking.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
If this fixes OpenBSD it looks fine I think. But I wonder if we shouldn't just do this if we are on OpenBSD, changing the SOVERSION has been fraught with problems before since people have scripts that expect certain layouts.
Without having more tests and more investigation I will only accept this if the change only happens on OpenBSD.