20 lines
395 B
PHP
Raw Normal View History

2025-10-08 08:16:54 +02:00
<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
use SPC\util\executor\UnixAutoconfExecutor;
trait libedit
{
protected function build(): void
{
UnixAutoconfExecutor::create($this)
2025-10-08 09:26:20 +02:00
->appendEnv(['CFLAGS' => '-D__STDC_ISO_10646__=201103L'])
2025-10-08 08:48:30 +02:00
->configure()
2025-10-08 08:16:54 +02:00
->make();
$this->patchPkgconfPrefix(['libedit.pc']);
}
}