mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 23:35:37 +08:00
cs fix
This commit is contained in:
@@ -58,8 +58,8 @@ trait curl
|
|||||||
}
|
}
|
||||||
// lib:ngtcp2
|
// lib:ngtcp2
|
||||||
if ($ngtcp2 = $this->builder->getLib('ngtcp2')) {
|
if ($ngtcp2 = $this->builder->getLib('ngtcp2')) {
|
||||||
$extra .= '-DUSE_NGTCP2=ON '
|
$extra .= '-DUSE_NGTCP2=ON ' .
|
||||||
/* @phpstan-ignore-next-line */.
|
/* @phpstan-ignore-next-line */
|
||||||
'-DNGTCP2_LIBRARY="' . $ngtcp2->getStaticLibFiles(style: 'cmake') . '" ' .
|
'-DNGTCP2_LIBRARY="' . $ngtcp2->getStaticLibFiles(style: 'cmake') . '" ' .
|
||||||
'-DNGTCP2_INCLUDE_DIR="' . BUILD_INCLUDE_PATH . '" ';
|
'-DNGTCP2_INCLUDE_DIR="' . BUILD_INCLUDE_PATH . '" ';
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ trait nghttp3
|
|||||||
->setEnv([
|
->setEnv([
|
||||||
'CFLAGS' => $this->getLibExtraCFlags(),
|
'CFLAGS' => $this->getLibExtraCFlags(),
|
||||||
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
||||||
'LIBS' => $this->getLibExtraLibs()
|
'LIBS' => $this->getLibExtraLibs(),
|
||||||
])
|
])
|
||||||
->execWithEnv(
|
->execWithEnv(
|
||||||
'./configure ' .
|
'./configure ' .
|
||||||
|
|||||||
@@ -4,11 +4,9 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace SPC\builder\unix\library;
|
namespace SPC\builder\unix\library;
|
||||||
|
|
||||||
use SPC\builder\LibraryBase;
|
|
||||||
use SPC\exception\FileSystemException;
|
use SPC\exception\FileSystemException;
|
||||||
use SPC\exception\RuntimeException;
|
use SPC\exception\RuntimeException;
|
||||||
use SPC\exception\WrongUsageException;
|
use SPC\exception\WrongUsageException;
|
||||||
use SPC\store\FileSystem;
|
|
||||||
|
|
||||||
trait ngtcp2
|
trait ngtcp2
|
||||||
{
|
{
|
||||||
@@ -31,7 +29,7 @@ trait ngtcp2
|
|||||||
->setEnv([
|
->setEnv([
|
||||||
'CFLAGS' => $this->getLibExtraCFlags(),
|
'CFLAGS' => $this->getLibExtraCFlags(),
|
||||||
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
'LDFLAGS' => $this->getLibExtraLdFlags(),
|
||||||
'LIBS' => $this->getLibExtraLibs()
|
'LIBS' => $this->getLibExtraLibs(),
|
||||||
])
|
])
|
||||||
->execWithEnv(
|
->execWithEnv(
|
||||||
'./configure ' .
|
'./configure ' .
|
||||||
|
|||||||
Reference in New Issue
Block a user