Skip to content

Conversation

@vszakats
Copy link
Member

@vszakats vszakats commented Nov 4, 2025

When GnuTLS is detected via pkg-config on a non-default path, e.g. with
Homebrew arm64 (/opt/homebrew/).

This was a regression from a commit made in this release cycle.

The Find module doesn't return an absolute path to the detected library
(as the former solution did), but a bare libname and a libpath. We thus
need to explicitly use the libpath while detecting a feature in GnuTLS
found this way. Syncing this with other dependencies.

Follow-up to 1966c86 #19163

E.g. on Homebrew arm64 default path (/opt/homebrew/).
@vszakats vszakats changed the title cmake: fix HAVE_GNUTLS_SRP detection for GnuTLS not on system path cmake: fix HAVE_GNUTLS_SRP after adding local FindGnuTLS module Nov 4, 2025
@vszakats vszakats changed the title cmake: fix HAVE_GNUTLS_SRP after adding local FindGnuTLS module cmake: fix HAVE_GNUTLS_SRP detection after adding local FindGnuTLS module Nov 4, 2025
@vszakats vszakats closed this in 3806fd9 Nov 4, 2025
@vszakats vszakats deleted the cm-gnutls-srp-detect branch November 4, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

1 participant