8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8a598d commit fad60bfCopy full SHA for fad60bf
meson.build
@@ -389,7 +389,13 @@ if not ldapopt.disabled()
389
ldap = cc.find_library('wldap32')
390
ldap_r = ldap
391
else
392
- ldap = dependency('ldap', required: false)
+ # macos framework dependency is buggy for ldap (one can argue
393
+ # whether it's Apple's or meson's fault), leading to an endless
394
+ # recursion with ldap.h including itself. See
395
+ # https://github.com/mesonbuild/meson/issues/10002
396
+ # Luckily we only need pkg-config support, so the workaround isn't
397
+ # too complicated
398
+ ldap = dependency('ldap', method: 'pkg-config', required: false)
399
400
# Before 2.5 openldap didn't have a pkg-config file..
401
if ldap.found()
0 commit comments