Skip to content

build: tidy up and improve versioned-symbols options - #14818

Closed
vszakats wants to merge 9 commits into
curl:masterfrom
vszakats:build-libcurl-vers-in
Closed

build: tidy up and improve versioned-symbols options#14818
vszakats wants to merge 9 commits into
curl:masterfrom
vszakats:build-libcurl-vers-in

Conversation

@vszakats

@vszakats vszakats commented Sep 6, 2024

Copy link
Copy Markdown
Member
  • 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 #14378


@vszakats vszakats added the build label Sep 6, 2024
@vszakats vszakats changed the title build: tidy up versioned symbol option build: update versioned symbol options Sep 6, 2024
@vszakats vszakats changed the title build: update versioned symbol options build: tidy up and improve versioned-symbol options Sep 6, 2024
@vszakats vszakats changed the title build: tidy up and improve versioned-symbol options build: tidy up and improve versioned-symbols options Sep 7, 2024
@vszakats
vszakats force-pushed the build-libcurl-vers-in branch from 6f941c9 to 38ae5ae Compare September 19, 2024 14:53
@vszakats vszakats closed this in 7100c5b Sep 21, 2024
@vszakats
vszakats deleted the build-libcurl-vers-in branch September 21, 2024 10:22
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant