add liburing for swoole

This commit is contained in:
DubbleClick
2025-08-25 22:57:04 +07:00
parent 37e0f1d3f3
commit 2694dd9e21
5 changed files with 62 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ class swoole extends Extension
}
$arg .= $this->builder->getLib('nghttp2') ? (' --with-nghttp2-dir=' . BUILD_ROOT_PATH) : '';
$arg .= $this->builder->getLib('zstd') ? ' --enable-zstd' : '';
$arg .= $this->builder->getLib('iouring') ? ' --enable-iouring' : '';
$arg .= $this->builder->getLib('liburing') ? ' --enable-iouring' : '';
$arg .= $this->builder->getExt('sockets') ? ' --enable-sockets' : '';
// additional feature: swoole-pgsql, it should depend on lib [postgresql], but it will lack of CFLAGS etc.