mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 00:35:41 +08:00
Merge remote-tracking branch 'origin/main' into fix/icurel
This commit is contained in:
@@ -80,6 +80,9 @@ class LinuxBuilder extends UnixBuilderBase
|
||||
$ret = '';
|
||||
foreach ($libSpecs as $libName => $arr) {
|
||||
$lib = $this->getLib($libName);
|
||||
if ($lib === null && str_starts_with($libName, 'lib')) {
|
||||
$lib = $this->getExt(substr($libName, 3));
|
||||
}
|
||||
|
||||
$arr = $arr ?? [];
|
||||
|
||||
|
||||
12
src/SPC/builder/linux/library/nghttp3.php
Normal file
12
src/SPC/builder/linux/library/nghttp3.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\linux\library;
|
||||
|
||||
class nghttp3 extends LinuxLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\nghttp3;
|
||||
|
||||
public const NAME = 'nghttp3';
|
||||
}
|
||||
12
src/SPC/builder/linux/library/ngtcp2.php
Normal file
12
src/SPC/builder/linux/library/ngtcp2.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace SPC\builder\linux\library;
|
||||
|
||||
class ngtcp2 extends LinuxLibraryBase
|
||||
{
|
||||
use \SPC\builder\unix\library\ngtcp2;
|
||||
|
||||
public const NAME = 'ngtcp2';
|
||||
}
|
||||
Reference in New Issue
Block a user