We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f92df0 commit 2abbb75Copy full SHA for 2abbb75
src/SPC/builder/extension/uv.php
@@ -5,7 +5,6 @@
5
namespace SPC\builder\extension;
6
7
use SPC\builder\Extension;
8
-use SPC\builder\linux\SystemUtil;
9
use SPC\store\FileSystem;
10
use SPC\util\CustomExt;
11
@@ -21,7 +20,7 @@ public function validate(): void
21
20
22
public function patchBeforeSharedMake(): bool
23
{
24
- if (PHP_OS_FAMILY !== 'Linux' || GNU_ARCH !== 'aarch64') {
+ if (PHP_OS_FAMILY !== 'Linux' || arch2gnu(php_uname('m')) !== 'aarch64') {
25
return false;
26
}
27
FileSystem::replaceFileRegex($this->source_dir . '/Makefile', '/^(LDFLAGS =.*)$/m', '$1 -luv -ldl -lrt -pthread');
0 commit comments