mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-20 15:25:36 +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
|
public function buildForDarwin(LibraryPackage $pkg): void
|
||||||
{
|
{
|
||||||
$zlib_libs = $pkg->getInstaller()->getLibraryPackage('zlib')->getStaticLibFiles();
|
$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)
|
shell()->cd($pkg->getSourceDir())->initializeEnv($pkg)
|
||||||
->exec(
|
->exec(
|
||||||
|
|||||||
Reference in New Issue
Block a user