mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 12:54:52 +08:00
fix
This commit is contained in:
parent
4e393886aa
commit
96592bce3e
@ -11,9 +11,9 @@ trait libedit
|
|||||||
{
|
{
|
||||||
public function patchBeforeBuild(): bool
|
public function patchBeforeBuild(): bool
|
||||||
{
|
{
|
||||||
FileSystem::replaceFileStr(
|
FileSystem::replaceFileRegex(
|
||||||
$this->source_dir . '/src/sys.h',
|
$this->source_dir . '/src/sys.h',
|
||||||
'//#define strl',
|
'|//#define\s+strl|',
|
||||||
'#define strl'
|
'#define strl'
|
||||||
);
|
);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user