Merge branch 'main' into zig

This commit is contained in:
Marc
2025-07-16 18:43:48 +07:00
committed by GitHub
10 changed files with 79 additions and 24 deletions

View File

@@ -298,6 +298,11 @@ abstract class UnixBuilderBase extends BuilderBase
$php_config_str = preg_replace('/(libs=")(.*?)\s*(-lstdc\+\+)\s*(.*?)"/', '$1$2 $4 $3"', $php_config_str);
FileSystem::writeFile(BUILD_BIN_PATH . '/php-config', $php_config_str);
}
foreach ($this->getLibs() as $lib) {
if ($lib->patchPhpConfig()) {
logger()->debug("Library {$lib->getName()} patched php-config");
}
}
}
/**