Skip to content

Use pkg-config for ext/ldap without a directory #17441

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

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

NattyNarwhal
Copy link
Member

The existing check is not very good. OpenLDAP has been shipping a pkg-config file for a while now, and that's preferable over trying to manually find it.

Note that for older OpenLDAP or non-OpenLDAP implementations, a directory can still be passed to use the old logic. Note that Oracle LDAP is busted and going away soon; I'm not sure for other LDAP implementations.

Tested on macOS 14.

The existing check is not very good. OpenLDAP has been shipping a
pkg-config file for a while now, and that's preferable over trying to
manually find it.

Note that for older OpenLDAP or non-OpenLDAP implementations, a
directory can still be passed to use the old logic. Note that Oracle
LDAP is busted and going away soon; I'm not sure for other LDAP
implementations.

Tested on macOS 14.
@NattyNarwhal NattyNarwhal marked this pull request as ready for review January 14, 2025 20:41
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me.

@NattyNarwhal
Copy link
Member Author

If there's no objections, I'll merge this within the week.

@petk
Copy link
Member

petk commented Feb 27, 2025

Sure, sounds good to me. I'm sorry, I don't have much time to test this at the moment. I trust you've tested it already enough... Otherwise, if anything is found later it can be resolved through bugs etc.

@NattyNarwhal NattyNarwhal merged commit 3677871 into php:master Feb 28, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants