add library, extension patch methods base

This commit is contained in:
crazywhalecc
2023-07-28 23:45:39 +08:00
committed by Jerry Ma
parent aaf712be3c
commit e909dd15b0
6 changed files with 78 additions and 154 deletions

View File

@@ -43,6 +43,7 @@ abstract class LinuxLibraryBase extends LibraryBase
// 传入 true表明直接编译
if ($force_build) {
logger()->info('Building required library [' . static::NAME . ']');
$this->patchBeforeBuild();
$this->build();
return BUILD_STATUS_OK;
}