shared for imagick

This commit is contained in:
DubbleClick 2025-05-22 12:28:00 +07:00
parent 3713ae8c93
commit 4b8412dfdb

View File

@ -24,6 +24,6 @@ class imagick extends Extension
public function getUnixConfigureArg(bool $shared = false): string
{
$disable_omp = getenv('SPC_LIBC') === 'musl' ? '' : ' ac_cv_func_omp_pause_resource_all=no';
return '--with-imagick=' . BUILD_ROOT_PATH . $disable_omp;
return '--with-imagick=' . ($shared ? 'shared,' : '') . BUILD_ROOT_PATH . $disable_omp;
}
}