mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 09:55:37 +08:00
add note to sharedExtensionCheck
This commit is contained in:
@@ -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.');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user