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 f556f37 commit 4e67c63Copy full SHA for 4e67c63
1 file changed
src/SPC/builder/Extension.php
@@ -187,13 +187,17 @@ public function patchBeforeMake(): bool
187
188
/**
189
* Run shared extension check when cli is enabled
190
+ * @throws RuntimeException
191
*/
192
public function runSharedExtensionCheckUnix(): void
193
{
194
[$ret] = shell()->execWithResult(BUILD_BIN_PATH . '/php -n -d "extension=' . BUILD_LIB_PATH . '/' . $this->getName() . '.so" --ri ' . $this->getName());
195
if ($ret !== 0) {
196
throw new RuntimeException($this->getName() . '.so failed to load');
197
}
198
+ if ($this->isBuildStatic()) {
199
+ logger()->warning($this->getName() . '.so test succeeded, but has little significance since it is also compiled in statically.');
200
+ }
201
202
203
0 commit comments