From 0b322f494b0c66755854347c6f371b314a76195b Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Sun, 7 Jan 2024 03:08:17 +0800 Subject: [PATCH] test --- src/SPC/command/BuildCliCommand.php | 2 ++ src/SPC/command/BuildLibsCommand.php | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/SPC/command/BuildCliCommand.php b/src/SPC/command/BuildCliCommand.php index 5bd0bba3..412520c9 100644 --- a/src/SPC/command/BuildCliCommand.php +++ b/src/SPC/command/BuildCliCommand.php @@ -102,6 +102,8 @@ 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); diff --git a/src/SPC/command/BuildLibsCommand.php b/src/SPC/command/BuildLibsCommand.php index be49f86a..f3fb8897 100644 --- a/src/SPC/command/BuildLibsCommand.php +++ b/src/SPC/command/BuildLibsCommand.php @@ -7,6 +7,7 @@ namespace SPC\command; use SPC\builder\BuilderProvider; use SPC\exception\ExceptionHandler; use SPC\exception\RuntimeException; +use SPC\util\DependencyUtil; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; @@ -59,6 +60,7 @@ class BuildLibsCommand extends BuildCommand // 只编译 library 的情况下,标记 $builder->setLibsOnly(); // 编译和检查库完整 + $libraries = DependencyUtil::getLibsByDeps($libraries); $builder->buildLibs($libraries); $time = round(microtime(true) - START_TIME, 3);