-
Notifications
You must be signed in to change notification settings - Fork 94
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
build: Make sure to expose p11_kit_check_version #648
base: master
Are you sure you want to change the base?
Conversation
0b9137b
to
34aa02a
Compare
The newly added symbol should not be versioned LIBP11_KIT_1.1 but like all other symbols LIBP11_KIT_1.0. The symbol needs to be added to p11-kit/libp11-kit-0.dll.def, too. |
Could you elaborate why? I think versioning symbols is a good thing to do. |
Previously, version.h was not installed when building with Autotools, and the function symbol was not exposed from libp11-kit when building with Meson. Reported by Andreas Metzler in: p11-glue#637 (comment) Signed-off-by: Daiki Ueno <ueno@gnu.org>
34aa02a
to
26bc8ed
Compare
Afaik there are 2.5 major usecases for versioned symbols:
My assertion "the newly added symbol should not be" is based on how addition of new symbols was handled in p11-kit previously, most recently in 466a31b and the fact that CONTRIBUTING.md does not describe the gnutls' way like gnutls' CONTRIBUTING.md does. An old thread on gnutls-devel provides some more background: https://lists.gnupg.org/pipermail/gnutls-devel/2017-August/008475.html |
Previously, version.h was not installed when building with Autotools, and the function symbol was not exposed from libp11-kit when building with Meson.
Reported by Andreas Metzler in:
#637 (comment)