mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-17 20:34:51 +08:00
remove psl
This commit is contained in:
parent
875e1d05cd
commit
376b8e7569
@ -96,20 +96,7 @@
|
||||
"libssh2",
|
||||
"nghttp2"
|
||||
],
|
||||
"lib-suggests-linux": [
|
||||
"libssh2",
|
||||
"brotli",
|
||||
"nghttp2",
|
||||
"nghttp3",
|
||||
"ngtcp2",
|
||||
"zstd",
|
||||
"libcares",
|
||||
"ldap",
|
||||
"krb5",
|
||||
"idn2",
|
||||
"psl"
|
||||
],
|
||||
"lib-suggests-macos": [
|
||||
"lib-suggests-unix": [
|
||||
"libssh2",
|
||||
"brotli",
|
||||
"nghttp2",
|
||||
@ -119,7 +106,7 @@
|
||||
"libcares",
|
||||
"ldap",
|
||||
"idn2",
|
||||
"psl"
|
||||
"krb5"
|
||||
],
|
||||
"lib-suggests-windows": [
|
||||
"brotli",
|
||||
@ -259,8 +246,8 @@
|
||||
],
|
||||
"lib-suggests-unix": [
|
||||
"libiconv",
|
||||
"libunistring",
|
||||
"gettext"
|
||||
"gettext",
|
||||
"libunistring"
|
||||
],
|
||||
"lib-depends-macos": [
|
||||
"libiconv",
|
||||
@ -624,7 +611,7 @@
|
||||
"libunistring.a"
|
||||
],
|
||||
"headers": [
|
||||
"unistring.h",
|
||||
"unistr.h",
|
||||
"unistring/"
|
||||
]
|
||||
},
|
||||
@ -892,18 +879,6 @@
|
||||
"libpgcommon.lib"
|
||||
]
|
||||
},
|
||||
"psl": {
|
||||
"source": "libpsl",
|
||||
"pkg-configs": [
|
||||
"libpsl"
|
||||
],
|
||||
"headers": [
|
||||
"libpsl.h"
|
||||
],
|
||||
"lib-depends": [
|
||||
"idn2"
|
||||
]
|
||||
},
|
||||
"pthreads4w": {
|
||||
"source": "pthreads4w",
|
||||
"static-libs-windows": [
|
||||
|
||||
@ -660,16 +660,6 @@
|
||||
"path": "LICENSE"
|
||||
}
|
||||
},
|
||||
"libpsl": {
|
||||
"type": "ghrel",
|
||||
"repo": "rockdaboot/libpsl",
|
||||
"match": "libpsl.+\\.tar\\.gz",
|
||||
"prefer-stable": true,
|
||||
"license": {
|
||||
"type": "file",
|
||||
"path": "COPYING"
|
||||
}
|
||||
},
|
||||
"librabbitmq": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/alanxz/rabbitmq-c.git",
|
||||
|
||||
@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\linux\library;
|
||||
|
||||
class psl extends LinuxLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\psl;
|
||||
|
||||
public const NAME = 'psl';
|
||||
}
|
||||
12
src/SPC/builder/macos/library/krb5.php
Normal file
12
src/SPC/builder/macos/library/krb5.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\macos\library;
|
||||
|
||||
class krb5 extends MacOSLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\krb5;
|
||||
|
||||
public const NAME = 'krb5';
|
||||
}
|
||||
@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\macos\library;
|
||||
|
||||
class psl extends MacOSLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\psl;
|
||||
|
||||
public const NAME = 'psl';
|
||||
}
|
||||
@ -18,8 +18,8 @@ trait krb5
|
||||
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->appendEnv([
|
||||
'CFLAGS' => '-fcommon',
|
||||
'LIBS' => $config['libs'],
|
||||
'LDFLAGS' => '-Wl,--allow-multiple-definition',
|
||||
])
|
||||
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
||||
->optionalLib('libedit', '--with-libedit', '--without-libedit')
|
||||
|
||||
@ -1,20 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\unix\library;
|
||||
|
||||
use SPC\util\executor\UnixAutoconfExecutor;
|
||||
|
||||
trait psl
|
||||
{
|
||||
protected function build(): void
|
||||
{
|
||||
UnixAutoconfExecutor::create($this)
|
||||
->optionalLib('idn2', ...ac_with_args('libidn2', true))
|
||||
->configure('--disable-nls')
|
||||
->make();
|
||||
$this->patchPkgconfPrefix(['libpsl.pc']);
|
||||
$this->patchLaDependencyPrefix();
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user