mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-15 21:05:35 +08:00
Fix openssl patch changes in feat/pgo-v3
This commit is contained in:
@@ -58,7 +58,11 @@ class openssl
|
||||
public function buildForDarwin(LibraryPackage $pkg): void
|
||||
{
|
||||
$zlib_libs = $pkg->getInstaller()->getLibraryPackage('zlib')->getStaticLibFiles();
|
||||
$arch = SystemTarget::getTargetArch();
|
||||
$targetArch = SystemTarget::getTargetArch();
|
||||
$arch = match ($targetArch) {
|
||||
'aarch64' => 'arm64',
|
||||
default => $targetArch,
|
||||
};
|
||||
|
||||
shell()->cd($pkg->getSourceDir())->initializeEnv($pkg)
|
||||
->exec(
|
||||
|
||||
Reference in New Issue
Block a user