MSVC: Don't build ldap_password_func if not building with ldap

Blind attempt to fix issue with 419a8dd814 found on drongo.
This commit is contained in:
Andrew Dunstan 2023-03-15 18:30:22 -04:00
parent b85e91023b
commit dccb4d1c03

View file

@ -475,6 +475,11 @@ sub mkvcbuild
'pgcrypto';
}
if (!$solution->{options}->{ldap})
{
push @contrib_excludes, 'ldap_password_func';
}
if (!$solution->{options}->{uuid})
{
push @contrib_excludes, 'uuid-ossp';