add note to sharedExtensionCheck

This commit is contained in:
DubbleClick
2025-03-31 00:10:27 +07:00
parent f556f375ee
commit 4e67c63808

View File

@@ -187,6 +187,7 @@ class Extension
/** /**
* Run shared extension check when cli is enabled * Run shared extension check when cli is enabled
* @throws RuntimeException
*/ */
public function runSharedExtensionCheckUnix(): void public function runSharedExtensionCheckUnix(): void
{ {
@@ -194,6 +195,9 @@ class Extension
if ($ret !== 0) { if ($ret !== 0) {
throw new RuntimeException($this->getName() . '.so failed to load'); 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.');
}
} }
/** /**