22 lines
421 B
PHP
Raw Normal View History

<?php
declare(strict_types=1);
namespace SPC\builder\unix\library;
2025-06-09 19:32:31 +08:00
use SPC\util\executor\UnixAutoconfExecutor;
trait libiconv
{
protected function build(): void
{
2025-06-09 19:32:31 +08:00
UnixAutoconfExecutor::create($this)
->configure(
'--enable-pic',
'--enable-extra-encodings',
)
2025-06-09 19:32:31 +08:00
->make();
$this->patchLaDependencyPrefix(['libiconv.la']);
}
}