unixconfigurearg needs to know if currently building shared or static

This commit is contained in:
DubbleClick
2025-03-27 11:12:19 +07:00
parent acdec64144
commit 48f257f85a
38 changed files with 61 additions and 45 deletions

View File

@@ -42,7 +42,7 @@ class opcache extends Extension
return file_put_contents(SOURCE_PATH . '/php-src/.opcache_patched', '1') !== false;
}
public function getUnixConfigureArg(): string
public function getUnixConfigureArg(bool $shared = false): string
{
return '--enable-opcache';
}