From 4e67c6380894c978c85877538eb9e36c2554e221 Mon Sep 17 00:00:00 2001 From: DubbleClick Date: Mon, 31 Mar 2025 00:10:27 +0700 Subject: [PATCH] add note to sharedExtensionCheck --- src/SPC/builder/Extension.php | 4 ++++ 1 file changed, 4 insertions(+) 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.'); + } } /**