add gsasl

This commit is contained in:
Marc Henderkes
2025-11-18 17:47:26 +01:00
parent 1fed8f2802
commit a1b8d201ae
6 changed files with 66 additions and 2 deletions

View 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();
}
}