mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
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.
This commit is contained in:
parent
f4c7c410ee
commit
0ae5db28d0
@ -584,7 +584,10 @@ endif
|
||||
###############################################################
|
||||
|
||||
ldapopt = get_option('ldap')
|
||||
if host_system == 'windows'
|
||||
if ldapopt.disabled()
|
||||
ldap = not_found_dep
|
||||
ldap_r = not_found_dep
|
||||
elif host_system == 'windows'
|
||||
ldap = cc.find_library('wldap32', required: ldapopt)
|
||||
ldap_r = ldap
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user