mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-19 13:24:51 +08:00
nghttp2 has brotlienc and brotlidec too
This commit is contained in:
parent
500c19d900
commit
301f2d8a97
@ -31,6 +31,12 @@ trait nghttp2
|
||||
'jemalloc' => 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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user