mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
fix
This commit is contained in:
parent
61fd57ddb5
commit
bd0ee12512
2 changed files with 9 additions and 0 deletions
|
@ -46,6 +46,11 @@ config NGINX_HTTP_GZIP
|
||||||
prompt "Enable HTTP gzip module"
|
prompt "Enable HTTP gzip module"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config NGINX_HTTP_GZIP_STATIC
|
||||||
|
bool
|
||||||
|
prompt "Enable HTTP gzip static module"
|
||||||
|
default y
|
||||||
|
|
||||||
config NGINX_HTTP_SSI
|
config NGINX_HTTP_SSI
|
||||||
bool
|
bool
|
||||||
prompt "Enable HTTP ssi module"
|
prompt "Enable HTTP ssi module"
|
||||||
|
|
|
@ -32,6 +32,7 @@ PKG_CONFIG_DEPENDS := \
|
||||||
CONFIG_NGINX_STUB_STATUS \
|
CONFIG_NGINX_STUB_STATUS \
|
||||||
CONFIG_NGINX_HTTP_CHARSET \
|
CONFIG_NGINX_HTTP_CHARSET \
|
||||||
CONFIG_NGINX_HTTP_GZIP \
|
CONFIG_NGINX_HTTP_GZIP \
|
||||||
|
CONFIG_NGINX_HTTP_GZIP_STATIC \
|
||||||
CONFIG_NGINX_HTTP_SSI \
|
CONFIG_NGINX_HTTP_SSI \
|
||||||
CONFIG_NGINX_HTTP_USERID \
|
CONFIG_NGINX_HTTP_USERID \
|
||||||
CONFIG_NGINX_HTTP_ACCESS \
|
CONFIG_NGINX_HTTP_ACCESS \
|
||||||
|
@ -159,6 +160,9 @@ ifneq ($(BUILD_VARIANT),all-module)
|
||||||
ifneq ($(CONFIG_NGINX_HTTP_GZIP),y)
|
ifneq ($(CONFIG_NGINX_HTTP_GZIP),y)
|
||||||
ADDITIONAL_MODULES += --without-http_gzip_module
|
ADDITIONAL_MODULES += --without-http_gzip_module
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(CONFIG_NGINX_HTTP_GZIP_STATIC),y)
|
||||||
|
ADDITIONAL_MODULES += --with-http_gzip_static_module
|
||||||
|
endif
|
||||||
ifneq ($(CONFIG_NGINX_HTTP_SSI),y)
|
ifneq ($(CONFIG_NGINX_HTTP_SSI),y)
|
||||||
ADDITIONAL_MODULES += --without-http_ssi_module
|
ADDITIONAL_MODULES += --without-http_ssi_module
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue