From 13e0e12181d9f2d1f67616a180e7a7a07c445084 Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 7 Jan 2024 11:37:06 +0800 Subject: [PATCH] update patch order --- src/SPC/builder/unix/library/ldap.php | 2 +- src/SPC/command/BuildCliCommand.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/SPC/builder/unix/library/ldap.php b/src/SPC/builder/unix/library/ldap.php index 807abc2b..d1807d89 100644 --- a/src/SPC/builder/unix/library/ldap.php +++ b/src/SPC/builder/unix/library/ldap.php @@ -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; } diff --git a/src/SPC/command/BuildCliCommand.php b/src/SPC/command/BuildCliCommand.php index 412520c9..5bd0bba3 100644 --- a/src/SPC/command/BuildCliCommand.php +++ b/src/SPC/command/BuildCliCommand.php @@ -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);