fix ldap for macos x86_64

This commit is contained in:
crazywhalecc 2024-01-07 10:38:08 +08:00 committed by Jerry Ma
parent 0b322f494b
commit 6562bc200c

View File

@ -10,7 +10,7 @@ trait ldap
{
$alt = '';
// openssl support
$alt .= $this->builder->getLib('openssl') && $this->builder->getExt('zlib') ? '--with-tls=openssl ' : '';
$alt .= ($this->builder->getLib('openssl') && $this->builder->getExt('zlib')) ? '--with-tls=openssl ' : '';
// gmp support
$alt .= $this->builder->getLib('gmp') ? '--with-mp=gmp ' : '';
// libsodium support