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

Use soname libm4ri.so.1 #25

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Use soname libm4ri.so.1 #25

merged 1 commit into from
Jan 16, 2025

Conversation

tornaria
Copy link
Contributor

Resolves #11.

See http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html for updating the version.

TL;DR where LT_VERSION=c:r:a

  • increment "r" each release;
  • when interfaces are only added, increment both c and a
  • when interfaces are removed or changed, increment c and set a to 0

The soname will be libm4ri.so.$((c-a)), so only the third case will force users to rebuild.

The idea is that libm4ri.so.1.0.* is both backward and forward compatible,
libm4ri.so.1.1.* will be backward compatible but not forward compatible, and
libm4ri.so.2.* will be neither.

@malb malb merged commit 327dae5 into malb:master Jan 16, 2025
1 check passed
@malb
Copy link
Owner

malb commented Jan 16, 2025

Ta!

@tornaria tornaria deleted the soname branch January 16, 2025 12:23
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.

move to saner SONAME
2 participants