]> git.kaiwu.me - njs.git/commit
Modules: added options to disable parts dependant on 3rd party libs.
authorDmitry Volyntsev <xeioex@nginx.com>
Thu, 11 May 2023 05:36:53 +0000 (22:36 -0700)
committerDmitry Volyntsev <xeioex@nginx.com>
Thu, 11 May 2023 05:36:53 +0000 (22:36 -0700)
commitcd1ac80f692d62dc87d08458a985f4502caec934
tree790d2bb4b13827167de56c4d946acaeeba37c283
parenteca430c94fc87804523f368a86350646328490cb
Modules: added options to disable parts dependant on 3rd party libs.

The following environment variables are added: NJS_OPENSSL, NJS_LIBXSLT,
NJS_ZLIB.  When a variable evaluates to "NO" the part of the module
related to the corresponsing library is disabled.

For example to disable libxslt related code:
    NJS_LIBXSLT=NO ./configure  .. --add-module=/path/to/njs/module
nginx/config
nginx/ngx_js.c