Content-Length: 258146 | pFad | http://github.com/postgrespro/postgres/commit/0ae5db28d06939d1a2ac52813629be0dfc77010e

EA meson: respect -Dldap=disabled · postgrespro/postgres@0ae5db2 · GitHub
Skip to content

Commit 0ae5db2

Browse files
committed
meson: respect -Dldap=disabled
I noticed during some manual testing that -Dldap=disabled (or --auto-features=disabled) doesn't disable ldap if available - that's obviously wrong.
1 parent f4c7c41 commit 0ae5db2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

meson.build

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,10 @@ endif
584584
###############################################################
585585

586586
ldapopt = get_option('ldap')
587-
if host_system == 'windows'
587+
if ldapopt.disabled()
588+
ldap = not_found_dep
589+
ldap_r = not_found_dep
590+
elif host_system == 'windows'
588591
ldap = cc.find_library('wldap32', required: ldapopt)
589592
ldap_r = ldap
590593
else

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0ae5db28d06939d1a2ac52813629be0dfc77010e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy