mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-19 23:05:36 +08:00
20 lines
395 B
PHP
20 lines
395 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\unix\library;
|
|
|
|
use SPC\util\executor\UnixAutoconfExecutor;
|
|
|
|
trait libedit
|
|
{
|
|
protected function build(): void
|
|
{
|
|
UnixAutoconfExecutor::create($this)
|
|
->appendEnv(['CFLAGS' => '-D__STDC_ISO_10646__=201103L'])
|
|
->configure()
|
|
->make();
|
|
$this->patchPkgconfPrefix(['libedit.pc']);
|
|
}
|
|
}
|