From 6562bc200c4771b77e103adc2ab40a8946cf8fca Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 7 Jan 2024 10:38:08 +0800 Subject: [PATCH] fix ldap for macos x86_64 --- src/SPC/builder/unix/library/ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SPC/builder/unix/library/ldap.php b/src/SPC/builder/unix/library/ldap.php index a557eb8e..fd6f7105 100644 --- a/src/SPC/builder/unix/library/ldap.php +++ b/src/SPC/builder/unix/library/ldap.php @@ -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