diff --git a/src/SPC/builder/Extension.php b/src/SPC/builder/Extension.php index 6ada640a..c2d924b7 100644 --- a/src/SPC/builder/Extension.php +++ b/src/SPC/builder/Extension.php @@ -187,6 +187,7 @@ class Extension /** * Run shared extension check when cli is enabled + * @throws RuntimeException */ public function runSharedExtensionCheckUnix(): void { @@ -194,6 +195,9 @@ class Extension if ($ret !== 0) { throw new RuntimeException($this->getName() . '.so failed to load'); } + if ($this->isBuildStatic()) { + logger()->warning($this->getName() . '.so test succeeded, but has little significance since it is also compiled in statically.'); + } } /**