mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
23 lines
544 B
PHP
23 lines
544 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\builder\unix\library;
|
|
|
|
use SPC\util\executor\UnixAutoconfExecutor;
|
|
|
|
trait libiconv
|
|
{
|
|
protected function build(): void
|
|
{
|
|
UnixAutoconfExecutor::create($this)
|
|
->configure(
|
|
'--enable-extra-encodings',
|
|
'--enable-year2038',
|
|
)
|
|
->make('install-lib', with_install: false)
|
|
->make('install-lib', with_install: false, dir: $this->getSourceDir() . '/libcharset');
|
|
$this->patchLaDependencyPrefix();
|
|
}
|
|
}
|