mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
23 lines
456 B
PHP
23 lines
456 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\unix\library;
|
|
|
|
use SPC\exception\FileSystemException;
|
|
use SPC\exception\RuntimeException;
|
|
use SPC\util\executor\UnixAutoconfExecutor;
|
|
|
|
trait onig
|
|
{
|
|
/**
|
|
* @throws FileSystemException
|
|
* @throws RuntimeException
|
|
*/
|
|
protected function build(): void
|
|
{
|
|
UnixAutoconfExecutor::create($this)->configure()->make();
|
|
$this->patchPkgconfPrefix(['oniguruma.pc']);
|
|
}
|
|
}
|