18 lines
363 B
PHP
Raw Normal View History

2025-06-04 21:50:28 +07:00
<?php
2025-06-04 21:42:44 +07:00
declare(strict_types=1);
namespace SPC\builder\unix\library;
2025-06-09 19:32:31 +08:00
use SPC\util\executor\UnixAutoconfExecutor;
2025-06-04 21:42:44 +07:00
trait nghttp3
{
protected function build(): void
{
2025-06-09 19:32:31 +08:00
UnixAutoconfExecutor::create($this)->configure('--enable-lib-only')->make();
2025-06-04 21:42:44 +07:00
$this->patchPkgconfPrefix(['libnghttp3.pc']);
$this->patchLaDependencyPrefix();
2025-06-04 21:42:44 +07:00
}
}