Revert "remote -lutil?"

This reverts commit aff3373b78.
This commit is contained in:
DubbleClick
2025-07-03 11:43:05 +07:00
parent cebd95b2c7
commit c735960ff8
5 changed files with 6 additions and 6 deletions

View File

@@ -12,7 +12,7 @@ trait ldap
{
public function patchBeforeBuild(): bool
{
$extra = SPCTarget::getLibc() === 'glibc' ? '-ldl -lpthread -lm -lresolv' : '';
$extra = SPCTarget::getLibc() === 'glibc' ? '-ldl -lpthread -lm -lresolv -lutil' : '';
FileSystem::replaceFileStr($this->source_dir . '/configure', '"-lssl -lcrypto', '"-lssl -lcrypto -lz ' . $extra);
return true;
}