mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\linux\library;
|
||||
|
||||
class gsasl extends LinuxLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\gsasl;
|
||||
|
||||
public const NAME = 'gsasl';
|
||||
}
|
||||
@@ -24,7 +24,6 @@ trait curl
|
||||
->optionalLib('idn2', ...cmake_boolean_args('USE_LIBIDN2'))
|
||||
->optionalLib('psl', ...cmake_boolean_args('CURL_USE_LIBPSL'))
|
||||
->optionalLib('krb5', ...cmake_boolean_args('CURL_USE_GSSAPI'))
|
||||
->optionalLib('gsasl', ...cmake_boolean_args('USE_GSASL'))
|
||||
->optionalLib('idn2', ...cmake_boolean_args('CURL_USE_IDN2'))
|
||||
->optionalLib('libcares', '-DENABLE_ARES=ON')
|
||||
->addConfigureArgs(
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@ trait krb5
|
||||
'LDFLAGS' => '-Wl,--allow-multiple-definition',
|
||||
])
|
||||
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
||||
->optionalLib('libedit', '--with-libedit', '--without-libedit')
|
||||
->optionalLib('libedit', '--with-readline', '--without-readline')
|
||||
->configure(
|
||||
'--disable-nls',
|
||||
'--disable-rpath',
|
||||
|
||||
Reference in New Issue
Block a user