mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 17:35:36 +08:00
unixconfigurearg needs to know if currently building shared or static
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user