Mercurial > hg > nginx
comparison auto/module @ 6804:2c7a2d75938a
Configure: honor dependencies of dynamic modules.
Dependencies of dynamic modules are added to NGX_ADDON_DEPS (and
it is now used for dynamic modules) to be in line with what happens
in case of static compilation.
To avoid duplication, MAIL_DEPS and STREAM_DEPS are no longer passed
to auto/module when these modules are compiled as dynamic ones. Mail
and stream dependencies are handled explicitly via corresponding
variables.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 21 Nov 2016 16:49:19 +0300 |
parents | 9eefb38f0005 |
children | 4b1299b1856a |
comparison
equal
deleted
inserted
replaced
6803:8bd659ff4231 | 6804:2c7a2d75938a |
---|---|
31 eval ${ngx_module}_ORDER=\"$ngx_module_order\" | 31 eval ${ngx_module}_ORDER=\"$ngx_module_order\" |
32 fi | 32 fi |
33 | 33 |
34 if test -n "$ngx_module_incs"; then | 34 if test -n "$ngx_module_incs"; then |
35 CORE_INCS="$CORE_INCS $ngx_module_incs" | 35 CORE_INCS="$CORE_INCS $ngx_module_incs" |
36 fi | |
37 | |
38 if test -n "$ngx_module_deps"; then | |
39 NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_module_deps" | |
36 fi | 40 fi |
37 | 41 |
38 libs= | 42 libs= |
39 for lib in $ngx_module_libs | 43 for lib in $ngx_module_libs |
40 do | 44 do |