fix undefined references to brotlicommon functions in gd.so

This commit is contained in:
DubbleClick
2025-05-21 17:58:11 +07:00
parent 11c116480f
commit 3ff31d20cf
3 changed files with 7 additions and 3 deletions

View File

@@ -268,8 +268,7 @@ abstract class BuilderBase
logger()->info('Building extension [' . $ext->getName() . '] as shared extension (' . $ext->getName() . '.so)');
$ext->buildShared();
}
}
catch (RuntimeException $e) {
} catch (RuntimeException $e) {
FileSystem::replaceFileLineContainsString(BUILD_BIN_PATH . '/php-config', 'extension_dir=', $extension_dir_line);
throw $e;
}