Add soversion to the library build.#2
Conversation
|
Could this be done instead with the |
|
Sure, I added a version variable in the main meson.build, and use it as parameters for the lib soversion. |
| @@ -1,4 +1,5 @@ | |||
| project('fastrpc', 'c') | |||
| version = '0.3.2' | |||
There was a problem hiding this comment.
Blank line above this one, just because the project() line needs to be at the top, and the variable doesn't need to be.
Other than that, LGTM (commits will be squashed).
There was a problem hiding this comment.
I added the blank line. Would you like I squash them in my PR branch or GitHub does it automatically ?
There was a problem hiding this comment.
I'll squash them manually so I can still sign the commit. Your authorship will be preserved.
0fb66d1 to
2415d5f
Compare
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/