linux-msm / hexagonrpc

GNU General Public License v3.0
0 stars 1 forks source link

Add soversion to the library build. #2

Closed xelageo closed 1 week ago

xelageo commented 2 weeks ago

This add a soversion to the libhexagonrpc, allowing easier upgrade when changing the ABI and would allow a much more standard way to package it in debian. Meson will generate libhexagonrpc.so.0 and symlink to libhexagonrpc.so A working debian package with the patch is available at https://salsa.debian.org/xela/hexagonrpc/-/blob/debian/latest/

flamingradian commented 1 week ago

Could this be done instead with the version argument and the version of HexagonRPC? Breaking changes could happen between 0.3.0 and 0.4.0.

xelageo commented 1 week ago

Sure, I added a version variable in the main meson.build, and use it as parameters for the lib soversion. Now the build output a libhexagonrpc.so.0.3.2 and its symlink to libhexagonrpc.so.