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

Install versioned library #112

Merged
merged 1 commit into from Nov 28, 2019

Conversation

eaaltonen
Copy link
Contributor

@eaaltonen eaaltonen commented Jun 24, 2019

Note

The library maintainers should review and consider when the library ABI changes. Substitute appropriate value for SOVERSION

Commit

  • Set library VERSION and SOVERSION

With soversion and version specified, install target will install the
library with the specified version and also create the proper symlink.

Change

make install before:

libdocopt.so

make install after:

libdocopt.so -> libdocopt.so.0
libdocopt.so.0 -> libdocopt.so.0.6.2
libdocopt.so.0.6.2

Fixes #111.

With soversion and version specified, `install` target will install the
library with the specified version and also create the proper symlink.
@eaaltonen
Copy link
Contributor Author

This has already been requested in PR#66, it seems.

@tdegeus tdegeus mentioned this pull request Nov 27, 2019
@jaredgrubb
Copy link
Member

Yes, this is a dup, but I think you have a slightly more correct approach. I'm trying to fix the CI stuff and then we can merge.

@jaredgrubb
Copy link
Member

Worked well enough so just going to merge in.

@jaredgrubb jaredgrubb merged commit 6968257 into docopt:master Nov 28, 2019
@eaaltonen eaaltonen deleted the install_versioned_libraries branch October 18, 2022 18:36
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.

Install versioned shared libaries on Linux
2 participants