mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-04 07:15:38 +08:00
Merge branch 'main' into zig
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user