Merge pull request #84 from jingjingxyk/pgsql

添加pgsql 库
This commit is contained in:
Jerry Ma
2023-07-22 16:19:43 +08:00
committed by GitHub
7 changed files with 137 additions and 4 deletions

View File

@@ -88,6 +88,9 @@ class SourcePatcher
if ($ssh2 = $builder->getExt('ssh2')) {
$patch[] = ['ssh2 patch', '/-lssh2/', $ssh2->getLibFilesString()];
}
if ($pgsql = $builder->getExt('pgsql')) {
$patch[] = ['pgsql patch', '/-lpq/', $pgsql->getLibFilesString()];
}
$patch[] = ['disable capstone', '/have_capstone="yes"/', 'have_capstone="no"'];
foreach ($patch as $item) {
logger()->info('Patching configure: ' . $item[0]);