Merge pull request #828 from crazywhalecc/feat/pkg-config-integration

Add real pkg-config integration
This commit is contained in:
Marc
2025-07-23 13:49:36 +07:00
committed by GitHub
32 changed files with 530 additions and 547 deletions

View File

@@ -21,7 +21,7 @@ class icu extends MacOSLibraryBase
->exec("make -j{$this->builder->concurrency}")
->exec('make install');
$this->patchPkgconfPrefix(['icu-i18n.pc', 'icu-io.pc', 'icu-uc.pc'], PKGCONF_PATCH_PREFIX);
$this->patchPkgconfPrefix(patch_option: PKGCONF_PATCH_PREFIX);
FileSystem::removeDir(BUILD_LIB_PATH . '/icu');
}
}