place -lstdc++ in compiler_extra

This commit is contained in:
DubbleClick
2025-07-02 09:23:31 +07:00
parent a0564628c4
commit b16638d813
2 changed files with 6 additions and 10 deletions

View File

@@ -405,6 +405,7 @@ class Extension
'LDFLAGS' => $config['ldflags'],
'LIBS' => $preStatic . $staticLibString . $postStatic . $sharedLibString,
'LD_LIBRARY_PATH' => BUILD_LIB_PATH,
'COMPILER_EXTRA' => '-lstdc++'
];
if ($this->patchBeforeSharedPhpize()) {