File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ public function buildUnixShared(): void
400
400
->exec (BUILD_BIN_PATH . '/phpize ' );
401
401
402
402
if ($ this ->patchBeforeSharedConfigure ()) {
403
- logger ()->info ('ext [ . ' . $ this ->getName () . '] patching before shared configure ' );
403
+ logger ()->info ('ext [ ' . $ this ->getName () . '] patching before shared configure ' );
404
404
}
405
405
406
406
shell ()->cd ($ this ->source_dir )
@@ -419,7 +419,7 @@ public function buildUnixShared(): void
419
419
);
420
420
421
421
if ($ this ->patchBeforeSharedMake ()) {
422
- logger ()->info ('ext [ . ' . $ this ->getName () . '] patching before shared make ' );
422
+ logger ()->info ('ext [ ' . $ this ->getName () . '] patching before shared make ' );
423
423
}
424
424
425
425
shell ()->cd ($ this ->source_dir )
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ public function validate(): void
21
21
22
22
public function patchBeforeSharedMake (): bool
23
23
{
24
- if (PHP_OS_FAMILY !== 'Linux ' || php_uname ( ' m ' ) !== 'aarch64 ' || SystemUtil:: getLibcVersionIfExists () > ' 2.17 ' ) {
24
+ if (PHP_OS_FAMILY !== 'Linux ' || GNU_ARCH !== 'aarch64 ' ) {
25
25
return false ;
26
26
}
27
- FileSystem::replaceFileRegex ($ this ->source_dir . '/Makefile ' , '/^(LDFLAGS =.*)$/ ' , '$1 -luv -ldl -lrt -pthread ' );
27
+ FileSystem::replaceFileRegex ($ this ->source_dir . '/Makefile ' , '/^(LDFLAGS =.*)$/m ' , '$1 -luv -ldl -lrt -pthread ' );
28
28
return true ;
29
29
}
30
30
}
Original file line number Diff line number Diff line change @@ -61,8 +61,7 @@ public function checkCliTools(): ?CheckResult
61
61
62
62
$ required = match ($ distro ['dist ' ]) {
63
63
'alpine ' => self ::TOOLS_ALPINE ,
64
- 'redhat ' => self ::TOOLS_RHEL ,
65
- 'centos ' => array_merge (self ::TOOLS_RHEL , ['perl-IPC-Cmd ' ]),
64
+ 'redhat ' , 'centos ' => self ::TOOLS_RHEL ,
66
65
'arch ' => self ::TOOLS_ARCH ,
67
66
default => self ::TOOLS_DEBIAN ,
68
67
};
You can’t perform that action at this time.
0 commit comments