mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 05:14:52 +08:00
22 lines
415 B
PHP
22 lines
415 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\unix\library;
|
|
|
|
use SPC\util\executor\UnixAutoconfExecutor;
|
|
|
|
trait readline
|
|
{
|
|
protected function build(): void
|
|
{
|
|
UnixAutoconfExecutor::create($this)
|
|
->configure(
|
|
'--with-curses',
|
|
'--enable-multibyte=yes',
|
|
)
|
|
->make();
|
|
$this->patchPkgconfPrefix(['readline.pc']);
|
|
}
|
|
}
|