Skip to content

Commit 376b8e7

Browse files
committed
remove psl
1 parent 875e1d0 commit 376b8e7

File tree

7 files changed

+18
-85
lines changed

7 files changed

+18
-85
lines changed

config/lib.json

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,7 @@
9696
"libssh2",
9797
"nghttp2"
9898
],
99-
"lib-suggests-linux": [
100-
"libssh2",
101-
"brotli",
102-
"nghttp2",
103-
"nghttp3",
104-
"ngtcp2",
105-
"zstd",
106-
"libcares",
107-
"ldap",
108-
"krb5",
109-
"idn2",
110-
"psl"
111-
],
112-
"lib-suggests-macos": [
99+
"lib-suggests-unix": [
113100
"libssh2",
114101
"brotli",
115102
"nghttp2",
@@ -119,7 +106,7 @@
119106
"libcares",
120107
"ldap",
121108
"idn2",
122-
"psl"
109+
"krb5"
123110
],
124111
"lib-suggests-windows": [
125112
"brotli",
@@ -259,8 +246,8 @@
259246
],
260247
"lib-suggests-unix": [
261248
"libiconv",
262-
"libunistring",
263-
"gettext"
249+
"gettext",
250+
"libunistring"
264251
],
265252
"lib-depends-macos": [
266253
"libiconv",
@@ -624,7 +611,7 @@
624611
"libunistring.a"
625612
],
626613
"headers": [
627-
"unistring.h",
614+
"unistr.h",
628615
"unistring/"
629616
]
630617
},
@@ -892,18 +879,6 @@
892879
"libpgcommon.lib"
893880
]
894881
},
895-
"psl": {
896-
"source": "libpsl",
897-
"pkg-configs": [
898-
"libpsl"
899-
],
900-
"headers": [
901-
"libpsl.h"
902-
],
903-
"lib-depends": [
904-
"idn2"
905-
]
906-
},
907882
"pthreads4w": {
908883
"source": "pthreads4w",
909884
"static-libs-windows": [

config/source.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -660,16 +660,6 @@
660660
"path": "LICENSE"
661661
}
662662
},
663-
"libpsl": {
664-
"type": "ghrel",
665-
"repo": "rockdaboot/libpsl",
666-
"match": "libpsl.+\\.tar\\.gz",
667-
"prefer-stable": true,
668-
"license": {
669-
"type": "file",
670-
"path": "COPYING"
671-
}
672-
},
673663
"librabbitmq": {
674664
"type": "git",
675665
"url": "https://github.com/alanxz/rabbitmq-c.git",

src/SPC/builder/linux/library/psl.php

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace SPC\builder\macos\library;
6+
7+
class krb5 extends MacOSLibraryBase
8+
{
9+
use \SPC\builder\unix\library\krb5;
10+
11+
public const NAME = 'krb5';
12+
}

src/SPC/builder/macos/library/psl.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/SPC/builder/unix/library/krb5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ protected function build(): void
1818
$config = $spc->config(libraries: $libs, include_suggest_lib: $this->builder->getOption('with-suggested-libs', false));
1919
UnixAutoconfExecutor::create($this)
2020
->appendEnv([
21+
'CFLAGS' => '-fcommon',
2122
'LIBS' => $config['libs'],
22-
'LDFLAGS' => '-Wl,--allow-multiple-definition',
2323
])
2424
->optionalLib('ldap', '--with-ldap', '--without-ldap')
2525
->optionalLib('libedit', '--with-libedit', '--without-libedit')

src/SPC/builder/unix/library/psl.php

Lines changed: 0 additions & 20 deletions
This file was deleted.

0 commit comments

Comments
 (0)