mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 21:04:52 +08:00
patch on 2.17...
This commit is contained in:
parent
aa61a9e77b
commit
883cc4b6fd
@ -454,7 +454,7 @@ class SourcePatcher
|
|||||||
|
|
||||||
public static function patchFfiCentos7FixO3strncmp(): bool
|
public static function patchFfiCentos7FixO3strncmp(): bool
|
||||||
{
|
{
|
||||||
if (PHP_OS_FAMILY !== 'Linux' || SystemUtil::getLibcVersionIfExists() >= '2.17') {
|
if (PHP_OS_FAMILY !== 'Linux' || SystemUtil::getLibcVersionIfExists() > '2.17') {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (!file_exists(SOURCE_PATH . '/php-src/main/php_version.h')) {
|
if (!file_exists(SOURCE_PATH . '/php-src/main/php_version.h')) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user