Skip to content

Commit be0b98c

Browse files
committed
patch before make for uv
1 parent 7d45415 commit be0b98c

File tree

1 file changed

+1
-1
lines changed
  • src/SPC/builder/extension

1 file changed

+1
-1
lines changed

src/SPC/builder/extension/uv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function validate(): void
2121

2222
public function patchBeforeSharedMake(): bool
2323
{
24-
if (SystemUtil::getLibcVersionIfExists() >= '2.17') {
24+
if (PHP_OS_FAMILY !== 'Linux' || php_uname('m') !== 'aarch64' || SystemUtil::getLibcVersionIfExists() > '2.17') {
2525
return false;
2626
}
2727
FileSystem::replaceFileRegex($this->source_dir . '/Makefile', '/^(LDFLAGS =.*)$/', '$1 -luv -ldl -lrt -pthread');

0 commit comments

Comments
 (0)