Skip to content
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

meson: Favor openldap when building on macOS #1792

Merged
merged 1 commit into from
Nov 30, 2024

Conversation

rdmark
Copy link
Member

@rdmark rdmark commented Nov 27, 2024

On macOS when doing find_library('ldap') Meson will find LDAP.Framework libraries which are deprecated by Apple.

Ref. https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SystemFrameworks/SystemFrameworks.html

This adds extra logic to the Meson build script to look for openldap libraries as installed by Homebrew, which is the most common use case.

It is still possible to override the logic with the with-ldap-path Meson option, if someone has rolled their own openldap installation.

Copy link

sonarcloud bot commented Nov 27, 2024

@rdmark rdmark merged commit e8e567a into main Nov 30, 2024
29 checks passed
@rdmark rdmark deleted the rdmark-macos-favor-openldap branch November 30, 2024 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant