This commit is contained in:
crazywhalecc 2024-01-07 03:08:17 +08:00 committed by Jerry Ma
parent ceed1005cc
commit 0b322f494b
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);