swoole enable pgsql

This commit is contained in:
jingjingxyk
2023-11-29 22:19:20 +08:00
parent 266108b25f
commit 7c866cb0e3
3 changed files with 62 additions and 17 deletions

View File

@@ -31,7 +31,6 @@ trait postgresql
foreach ($optional_packages as $lib => $pkg) {
if ($this->getBuilder()->getLib($lib)) {
$packages .= ' ' . $pkg;
$output = shell()->execWithResult("pkg-config --cflags --libs --static {$pkg}")[1][0];
if (!empty($output[1][0])) {
logger()->info($output[1][0]);