Skip to content

lib: meson.build: restore libqrtr SONAME#31

Merged
konradybcio merged 1 commit into
linux-msm:masterfrom
a-wai:restore-soname
Apr 30, 2024
Merged

lib: meson.build: restore libqrtr SONAME#31
konradybcio merged 1 commit into
linux-msm:masterfrom
a-wai:restore-soname

Conversation

@a-wai

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

Copy link
Copy Markdown
Contributor

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
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