mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-07 08:45:40 +08:00
swoole enable pgsql
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user