Mercurial > hg > nginx
diff auto/modules @ 8942:5c86189a1c1b quic
Merged with the default branch.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Fri, 24 Dec 2021 15:53:59 +0300 |
parents | 9ec96ceaf484 336084ff943b |
children | c2f5d79cde64 |
line wrap: on
line diff
--- a/auto/modules +++ b/auto/modules @@ -102,6 +102,11 @@ if [ $HTTP = YES ]; then fi + if [ $HTTP_V2 = YES -o $HTTP_V3 = YES ]; then + HTTP_SRCS="$HTTP_SRCS $HTTP_HUFF_SRCS" + fi + + # the module order is important # ngx_http_static_module # ngx_http_gzip_static_module @@ -427,8 +432,6 @@ if [ $HTTP = YES ]; then ngx_module_srcs="src/http/v2/ngx_http_v2.c \ src/http/v2/ngx_http_v2_table.c \ src/http/v2/ngx_http_v2_encode.c \ - src/http/v2/ngx_http_v2_huff_decode.c \ - src/http/v2/ngx_http_v2_huff_encode.c \ src/http/v2/ngx_http_v2_module.c" ngx_module_libs= ngx_module_link=$HTTP_V2 @@ -460,12 +463,6 @@ if [ $HTTP = YES ]; then ngx_module_libs= ngx_module_link=$HTTP_V3 - if [ $HTTP_V2 = NO ]; then - ngx_module_srcs="$ngx_module_srcs \ - src/http/v2/ngx_http_v2_huff_decode.c \ - src/http/v2/ngx_http_v2_huff_encode.c" - fi - . auto/module fi