suggestion and aarch64 fix

This commit is contained in:
DubbleClick
2025-06-26 15:55:41 +07:00
parent b535600297
commit e408a2cf1d
2 changed files with 3 additions and 2 deletions

View File

@@ -62,7 +62,8 @@ class openssl extends LinuxLibraryBase
$ex_lib = trim($ex_lib);
$clang_postfix = SystemUtil::getCCType() === 'clang' ? '-clang' : '';
/* @phpstan-ignore-next-line */
$clang_postfix = SystemUtil::getCCType() === 'clang' && (GNU_ARCH === 'x86_64' || PHP_OS_FAMILY === 'Darwin') ? '-clang' : '';
shell()->cd($this->source_dir)->initializeEnv($this)
->exec(