mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
remove psl
This commit is contained in:
parent
875e1d05cd
commit
376b8e7569
@ -96,20 +96,7 @@
|
|||||||
"libssh2",
|
"libssh2",
|
||||||
"nghttp2"
|
"nghttp2"
|
||||||
],
|
],
|
||||||
"lib-suggests-linux": [
|
"lib-suggests-unix": [
|
||||||
"libssh2",
|
|
||||||
"brotli",
|
|
||||||
"nghttp2",
|
|
||||||
"nghttp3",
|
|
||||||
"ngtcp2",
|
|
||||||
"zstd",
|
|
||||||
"libcares",
|
|
||||||
"ldap",
|
|
||||||
"krb5",
|
|
||||||
"idn2",
|
|
||||||
"psl"
|
|
||||||
],
|
|
||||||
"lib-suggests-macos": [
|
|
||||||
"libssh2",
|
"libssh2",
|
||||||
"brotli",
|
"brotli",
|
||||||
"nghttp2",
|
"nghttp2",
|
||||||
@ -119,7 +106,7 @@
|
|||||||
"libcares",
|
"libcares",
|
||||||
"ldap",
|
"ldap",
|
||||||
"idn2",
|
"idn2",
|
||||||
"psl"
|
"krb5"
|
||||||
],
|
],
|
||||||
"lib-suggests-windows": [
|
"lib-suggests-windows": [
|
||||||
"brotli",
|
"brotli",
|
||||||
@ -259,8 +246,8 @@
|
|||||||
],
|
],
|
||||||
"lib-suggests-unix": [
|
"lib-suggests-unix": [
|
||||||
"libiconv",
|
"libiconv",
|
||||||
"libunistring",
|
"gettext",
|
||||||
"gettext"
|
"libunistring"
|
||||||
],
|
],
|
||||||
"lib-depends-macos": [
|
"lib-depends-macos": [
|
||||||
"libiconv",
|
"libiconv",
|
||||||
@ -624,7 +611,7 @@
|
|||||||
"libunistring.a"
|
"libunistring.a"
|
||||||
],
|
],
|
||||||
"headers": [
|
"headers": [
|
||||||
"unistring.h",
|
"unistr.h",
|
||||||
"unistring/"
|
"unistring/"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -892,18 +879,6 @@
|
|||||||
"libpgcommon.lib"
|
"libpgcommon.lib"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"psl": {
|
|
||||||
"source": "libpsl",
|
|
||||||
"pkg-configs": [
|
|
||||||
"libpsl"
|
|
||||||
],
|
|
||||||
"headers": [
|
|
||||||
"libpsl.h"
|
|
||||||
],
|
|
||||||
"lib-depends": [
|
|
||||||
"idn2"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"pthreads4w": {
|
"pthreads4w": {
|
||||||
"source": "pthreads4w",
|
"source": "pthreads4w",
|
||||||
"static-libs-windows": [
|
"static-libs-windows": [
|
||||||
|
|||||||
@ -660,16 +660,6 @@
|
|||||||
"path": "LICENSE"
|
"path": "LICENSE"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libpsl": {
|
|
||||||
"type": "ghrel",
|
|
||||||
"repo": "rockdaboot/libpsl",
|
|
||||||
"match": "libpsl.+\\.tar\\.gz",
|
|
||||||
"prefer-stable": true,
|
|
||||||
"license": {
|
|
||||||
"type": "file",
|
|
||||||
"path": "COPYING"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"librabbitmq": {
|
"librabbitmq": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/alanxz/rabbitmq-c.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));
|
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
|
||||||
UnixAutoconfExecutor::create($this)
|
UnixAutoconfExecutor::create($this)
|
||||||
->appendEnv([
|
->appendEnv([
|
||||||
|
'CFLAGS' => '-fcommon',
|
||||||
'LIBS' => $config['libs'],
|
'LIBS' => $config['libs'],
|
||||||
'LDFLAGS' => '-Wl,--allow-multiple-definition',
|
|
||||||
])
|
])
|
||||||
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
->optionalLib('ldap', '--with-ldap', '--without-ldap')
|
||||||
->optionalLib('libedit', '--with-libedit', '--without-libedit')
|
->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