add extra runtime objects for shared libraries built directly by php make too

This commit is contained in:
DubbleClick
2025-07-19 15:10:42 +07:00
parent fff23649cf
commit 01887d652c
13 changed files with 36 additions and 8 deletions

View File

@@ -39,6 +39,7 @@ class grpc extends Extension
public function patchBeforeMake(): bool
{
parent::patchBeforeMake();
// add -Wno-strict-prototypes
GlobalEnvManager::putenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS=' . getenv('SPC_CMD_VAR_PHP_MAKE_EXTRA_CFLAGS') . ' -Wno-strict-prototypes');
return true;