rebuild shared extensions even if they already exist

This commit is contained in:
DubbleClick 2025-06-12 19:17:44 +07:00
parent 29339b962c
commit 5a3a8db772

View File

@ -329,10 +329,6 @@ class Extension
public function buildShared(): void public function buildShared(): void
{ {
logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)'); logger()->info('Building extension [' . $this->getName() . '] as shared extension (' . $this->getName() . '.so)');
if (file_exists(BUILD_MODULES_PATH . '/' . $this->getName() . '.so')) {
logger()->info('extension ' . $this->getName() . ' already built, skipping');
return;
}
foreach ($this->dependencies as $dependency) { foreach ($this->dependencies as $dependency) {
if (!$dependency instanceof Extension) { if (!$dependency instanceof Extension) {
continue; continue;