build: tidy up and improve versioned-symbols options - #14818
Closed
vszakats wants to merge 9 commits into
Closed
Conversation
Though Windows and macOS doesn't support versioned symbols.
Usage: `--enable-versioned-symbols=MYPREFIX_` As in cmake.
vszakats
force-pushed
the
build-libcurl-vers-in
branch
from
September 19, 2024 14:53
6f941c9 to
38ae5ae
Compare
pps83
pushed a commit
to pps83/curl
that referenced
this pull request
Apr 26, 2025
- autotools: add support for custom prefix. Usage: `--enable-versioned-symbols=MYPREFIX_` Catching up with cmake. - add default versioned prefix for Rustls builds. - delete `HIDDEN` entry from version script `lib/libcurl.vers.in`. It referred to symbol names that never existed in libcurl. - cmake: use `lib/libcurl.vers.in` as a template instead of generating it from scratch. Adapt `./configure` accordingly, and add comments to keep hard-wired soname in sync with `lib/Makefile.soname`. - autotools: delete Schannel and Secure Transport version prefixes. Windows and macOS don't support the versioned symbols option. Follow-up to 7b14449 curl#14378 Closes curl#14818
vszakats
added a commit
that referenced
this pull request
Jun 19, 2026
- "cmake outputs: no version information available" Ref: #11158 Seems to be about missing support for autotools `--enable-versioned-symbols`. This was implemented for CMake in: 14d4712 #17039 7100c5b #14818 7b14449 #14378 - "generated `.pc` file contains strange entries" Ref: #6167 Fixed in: 9f56bb6 #14681 - "CMake build with MIT Kerberos does not work" Ref: #6904 The FindGSS module responsible for MIT Kerberos detection has seen 50 updates since this report. In the last years I made many local tests with it, and it's also extensively CI-tested since (including Windows for a 1-year period), with no known issues. If you see problems remaining, let us know in a new issue. Closes #22108
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
autotools: add support for custom prefix.
Usage:
--enable-versioned-symbols=MYPREFIX_Catching up with cmake.
add default versioned prefix for Rustls builds.
delete
HIDDENentry from version scriptlib/libcurl.vers.in.It referred to symbol names that never existed in libcurl.
cmake: use
lib/libcurl.vers.inas a template instead of generatingit from scratch. Adapt
./configureaccordingly, and add commentsto keep hard-wired soname in sync with
lib/Makefile.soname.autotools: delete Schannel and Secure Transport version prefixes.
Windows and macOS don't support the versioned symbols option.
Follow-up to 7b14449 #14378
.infiles fromEXTRA_DIST#14821