[php-src] PR #17441: Use pkg-config for ext/ldap without a directory
| From: | NattyNarwhal | Date: | Fri, 10 Jan 2025 23:40:02 +0000 |
| Subject: | [php-src] PR #17441: Use pkg-config for ext/ldap without a directory | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30352@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17441
Author: NattyNarwhal
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.