mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-10 02:15:36 +08:00
nghttp2 has brotlienc and brotlidec too
This commit is contained in:
@@ -31,6 +31,12 @@ trait nghttp2
|
|||||||
'jemalloc' => null,
|
'jemalloc' => null,
|
||||||
'systemd' => null,
|
'systemd' => null,
|
||||||
]);
|
]);
|
||||||
|
if ($brotli = $this->builder->getLib('brotli')) {
|
||||||
|
/* @phpstan-ignore-next-line */
|
||||||
|
$args .= ' --with-libbrotlidec=yes LIBBROTLIDEC_CFLAGS="-I' . BUILD_ROOT_PATH . '/include" LIBBROTLIDEC_LIBS="' . $brotli->getStaticLibFiles() . '"';
|
||||||
|
/* @phpstan-ignore-next-line */
|
||||||
|
$args .= ' --with-libbrotlienc=yes LIBBROTLIENC_CFLAGS="-I' . BUILD_ROOT_PATH . '/include" LIBBROTLIENC_LIBS="' . $brotli->getStaticLibFiles() . '"';
|
||||||
|
}
|
||||||
|
|
||||||
[,,$destdir] = SEPARATED_PATH;
|
[,,$destdir] = SEPARATED_PATH;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user