diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2016-11-21 16:49:19 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2016-11-21 16:49:19 +0300 |
| commit | 4c6e31a8577087561cefbed86cf9771604794b8c (patch) | |
| tree | a6887add547a9283c079f2d2f44fb499809b6326 /auto/module | |
| parent | a91f2b03829b62be84547c38231b477114c8bc9e (diff) | |
| download | nginx-4c6e31a8577087561cefbed86cf9771604794b8c.tar.gz nginx-4c6e31a8577087561cefbed86cf9771604794b8c.tar.bz2 | |
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.
Diffstat (limited to 'auto/module')
| -rw-r--r-- | auto/module | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/auto/module b/auto/module index 3b00a07f8..a2b578db2 100644 --- a/auto/module +++ b/auto/module @@ -35,6 +35,10 @@ if [ "$ngx_module_link" = DYNAMIC ]; then CORE_INCS="$CORE_INCS $ngx_module_incs" fi + if test -n "$ngx_module_deps"; then + NGX_ADDON_DEPS="$NGX_ADDON_DEPS $ngx_module_deps" + fi + libs= for lib in $ngx_module_libs do |
