mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
cs fix
This commit is contained in:
parent
a3efe86cac
commit
18a5215da9
@ -531,10 +531,10 @@ class Extension
|
|||||||
/**
|
/**
|
||||||
* Splits a given string of library flags into static and shared libraries.
|
* Splits a given string of library flags into static and shared libraries.
|
||||||
*
|
*
|
||||||
* @param string $allLibs A space-separated string of library flags (e.g., -lxyz).
|
* @param string $allLibs A space-separated string of library flags (e.g., -lxyz).
|
||||||
* @return array An array containing two elements: the first is a space-separated string
|
* @return array an array containing two elements: the first is a space-separated string
|
||||||
* of static library flags, and the second is a space-separated string
|
* of static library flags, and the second is a space-separated string
|
||||||
* of shared library flags.
|
* of shared library flags
|
||||||
*/
|
*/
|
||||||
protected function splitLibsIntoStaticAndShared(string $allLibs): array
|
protected function splitLibsIntoStaticAndShared(string $allLibs): array
|
||||||
{
|
{
|
||||||
|
|||||||
@ -31,7 +31,7 @@ class LinuxToolCheckList
|
|||||||
'tar', 'unzip', 'gzip',
|
'tar', 'unzip', 'gzip',
|
||||||
'bzip2', 'cmake', 'patch',
|
'bzip2', 'cmake', 'patch',
|
||||||
'xz', 'libtoolize', 'which',
|
'xz', 'libtoolize', 'which',
|
||||||
'patchelf', 'musl'
|
'patchelf', 'musl',
|
||||||
];
|
];
|
||||||
|
|
||||||
public const TOOLS_RHEL = [
|
public const TOOLS_RHEL = [
|
||||||
@ -40,7 +40,7 @@ class LinuxToolCheckList
|
|||||||
'tar', 'unzip', 'gzip', 'gcc',
|
'tar', 'unzip', 'gzip', 'gcc',
|
||||||
'bzip2', 'cmake', 'patch', 'which',
|
'bzip2', 'cmake', 'patch', 'which',
|
||||||
'xz', 'libtool', 'gettext-devel',
|
'xz', 'libtool', 'gettext-devel',
|
||||||
'perl', 'patchelf', 'musl-libc'
|
'perl', 'patchelf', 'musl-libc',
|
||||||
];
|
];
|
||||||
|
|
||||||
public const TOOLS_ARCH = [
|
public const TOOLS_ARCH = [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user