-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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 release version instead of libtool version in Makefile #10355
Use release version instead of libtool version in Makefile #10355
Conversation
@@ -18,7 +18,7 @@ else | |||
PTHREAD_DEF = | |||
endif | |||
|
|||
PROTOBUF_VERSION = 32:4:0 | |||
PROTOBUF_VERSION = 3.21.4 |
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.
do we need to udpate the update_version.py to hit this line?
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.
Yep but needs to happen internally, I have filed a bug and CL will come soon.
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.
You can just use -release ${PACKAGE_VERSION}
at which point only configure.ac needs updating.
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.
Where is PACKAGE_VERSION set?
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.
Either of the two answers should help:
AC_INIT([Protocol Buffers],[3.21.4],[protobuf@googlegroups.com],[protobuf])
^^^^^^
or
grep -r PACKAGE_VERSION /usr/share/aut*
/usr/share/autoconf/autoconf/general.m4:AC_SUBST([PACKAGE_VERSION],
it's implied.
I think we also need to make the corresponding change for CMake. libprotobuf.cmake, libprotobuf-lite.cmake, and libprotoc.cmake all set |
I made this change but I'm going to hold on submitting until we talk about whether protoc should share cpp's major version or have its own. |
…rsion Use release version instead of libtool version in Makefile
Fixes #10323