Remove redundant files and add tests for #504 bug

This commit is contained in:
crazywhalecc
2024-07-19 23:34:01 +08:00
committed by Jerry Ma
parent fbae0021a3
commit ca6d5da10f
3 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ declare(strict_types=1);
namespace SPC\builder\linux\library;
use SPC\store\FileSystem;
class icu extends LinuxLibraryBase
{
use \SPC\builder\unix\library\icu;
@@ -36,5 +38,6 @@ class icu extends LinuxLibraryBase
->exec('make install');
$this->patchPkgconfPrefix(['icu-i18n.pc', 'icu-io.pc', 'icu-uc.pc'], PKGCONF_PATCH_PREFIX);
FileSystem::removeDir(BUILD_LIB_PATH . '/icu');
}
}