update patch order

This commit is contained in:
crazywhalecc 2024-01-07 11:37:06 +08:00 committed by Jerry Ma
parent 81df124b42
commit 13e0e12181
2 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,7 @@ trait ldap
{
public function patchBeforeBuild(): bool
{
FileSystem::replaceFileStr($this->source_dir . '/configure', '"-lssl -lcrypto', '"-lz -lssl -lcrypto');
FileSystem::replaceFileStr($this->source_dir . '/configure', '"-lssl -lcrypto', '"-lssl -lcrypto -lz');
return true;
}

View File

@ -102,8 +102,6 @@ class BuildCliCommand extends BuildCommand
SourcePatcher::patchHardcodedINI($custom_ini);
}
shell(true)->cd(BUILD_LIB_PATH)->exec('cat pkgconfig/ldap.pc');
logger()->info('TEST BREAKPOINT');
// start to build
$builder->buildPHP($rule);