-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Change the version of the library to 1.3 #1296
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
Conversation
b36e58a
to
7cc7330
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did some searching around and it seems like very few libraries actually define the SONAME
in their headers like we do in hiredis.
Maybe the way to go is to drop the soname define in hiredis.h and just use the major version to construct the SONAME
in both CMakeLists.txt
and Makefile
?
That said, I pulled this change and built hiredis and it works well, so if we don't want to remove the SONAME this change is fine with me.
7cc7330
to
e634eb1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Change the CMakeLists.txt to produce a symlink with a generic name that points to the latest major version. The build output will now look like this: libhiredis.so -> libhiredis.so.1* libhiredis.so.1* -> libhiredis.so.1.3.0* libhiredis.so.1.3.0* This would allow for seamless minor version updates.
e634eb1
to
f0271c6
Compare
All of the comments have been resolved by applying the suggested changes. |
Change the
CMakeLists.txt
to produce a symlink with a generic name that points to the latest major version.The build output will now look like this:
This would allow for seamless minor version updates.