We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a17cec commit 34910d1Copy full SHA for 34910d1
src/SPC/builder/Extension.php
@@ -401,10 +401,12 @@ public function buildShared(array $visited = []): void
401
if (Config::getExt($this->getName(), 'type') === 'addon') {
402
return;
403
}
404
+ $this->builder->emitPatchPoint('before-shared-ext[' . $this->getName() . ']-build');
405
match (PHP_OS_FAMILY) {
406
'Darwin', 'Linux' => $this->buildUnixShared(),
407
default => throw new WrongUsageException(PHP_OS_FAMILY . ' build shared extensions is not supported yet'),
408
};
409
+ $this->builder->emitPatchPoint('after-shared-ext[' . $this->getName() . ']-build');
410
} catch (SPCException $e) {
411
$e->bindExtensionInfo(['extension_name' => $this->getName()]);
412
throw $e;
0 commit comments