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

Set SOVERSION and VERSION when building as shared library in CMake #907

Open
topazus opened this issue May 16, 2023 · 0 comments · May be fixed by #910
Open

Set SOVERSION and VERSION when building as shared library in CMake #907

topazus opened this issue May 16, 2023 · 0 comments · May be fixed by #910

Comments

@topazus
Copy link

topazus commented May 16, 2023

For shared library, Adding VERSION and SOVERSION can specify the build version and api version. It is useful to indicate that the ABI compatibility, will be beneficial for the packaging of various Linux distributions.

Ref:
https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#run-time-shared-libraries
https://en.opensuse.org/openSUSE:Shared_library_packaging_policy#Underlying_principles

@topazus topazus linked a pull request May 23, 2023 that will close this issue
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 a pull request may close this issue.

1 participant