Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib: meson.build: restore libqrtr SONAME #31

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

a-wai
Copy link
Contributor

@a-wai a-wai commented Apr 23, 2024

The previous version of libqrtr had libqrtr.so.1 as their SONAME, while the current version have only libqrtr.so. This is problematic as previously built binaries using this lib will have to be rebuilt for this new version (or rather, re-linked, which is practically equivalent).

This change ensures the SONAME is kept by setting the project version in the top-level meson.build and uses this string as the shared library version.

In practice, the generated library filename is now libqrtr.so.1.1 with SONAME still being libqrtr.so.1.

The previous version of `libqrtr` had `libqrtr.so.1` as their SONAME,
while the current version have only `libqrtr.so`. This is problematic as
previously built binaries using this lib will have to be rebuilt for
this new version (or rather, re-linked, which is practically
equivalent).

This change ensures the SONAME is kept by setting the project version
in the top-level `meson.build` and uses this string as the shared
library version.

In practice, the generated library filename is now `libqrtr.so.1.1` with
SONAME still being `libqrtr.so.1`.
@konradybcio konradybcio merged commit b6b586f into linux-msm:master Apr 30, 2024
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants