mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
add swoole pgsql (--enable-swoole-pgsql)
This commit is contained in:
parent
dfdeab70f1
commit
21a4ba7478
@ -370,7 +370,8 @@
|
||||
"arg-type": "custom",
|
||||
"cpp-extension": true,
|
||||
"lib-depends": [
|
||||
"openssl"
|
||||
"openssl",
|
||||
"pqsql"
|
||||
],
|
||||
"ext-depends": [
|
||||
"openssl"
|
||||
|
||||
@ -12,7 +12,7 @@ class swoole extends Extension
|
||||
{
|
||||
public function getUnixConfigureArg(): string
|
||||
{
|
||||
$arg = '--enable-swoole';
|
||||
$arg = '--enable-swoole --enable-swoole-pgsql';
|
||||
$arg .= $this->builder->getLib('openssl') ? ' --enable-openssl' : ' --disable-openssl --without-openssl';
|
||||
$arg .= $this->builder->getLib('brotli') ? (' --enable-brotli --with-brotli-dir=' . BUILD_ROOT_PATH) : '';
|
||||
// curl hook is buggy for static php
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user