mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
add gsasl
This commit is contained in:
25
src/SPC/builder/unix/library/gsasl.php
Normal file
25
src/SPC/builder/unix/library/gsasl.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\unix\library;
|
||||
|
||||
use SPC\util\executor\UnixAutoconfExecutor;
|
||||
|
||||
trait gsasl
|
||||
{
|
||||
protected function build(): void
|
||||
{
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->optionalLib('idn2', ...ac_with_args('libidn2', true))
|
||||
->optionalLib('krb5', ...ac_with_args('gssapi', true))
|
||||
->configure(
|
||||
'--disable-nls',
|
||||
'--disable-rpath',
|
||||
'--disable-doc',
|
||||
)
|
||||
->make();
|
||||
$this->patchPkgconfPrefix(['libgsasl.pc']);
|
||||
$this->patchLaDependencyPrefix();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user