diff options
| author | Maxim Dounin <mdounin@mdounin.ru> | 2020-11-10 17:13:20 +0300 |
|---|---|---|
| committer | Maxim Dounin <mdounin@mdounin.ru> | 2020-11-10 17:13:20 +0300 |
| commit | 23597e97f52316ef024796c5f1b5ca0d70ecff31 (patch) | |
| tree | 645293bffc93bd840fd74693b94b277232f20771 /auto/make | |
| parent | 3030907f5f57ca7087f8073e1559ba22f3004671 (diff) | |
| download | nginx-23597e97f52316ef024796c5f1b5ca0d70ecff31.tar.gz nginx-23597e97f52316ef024796c5f1b5ca0d70ecff31.tar.bz2 | |
Configure: shared sources for addon modules.
Addon modules, both dynamic and static, can now use shared source files.
Shared sources result in only one make rule even if specified several
times in different modules.
Diffstat (limited to 'auto/make')
| -rw-r--r-- | auto/make | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -502,6 +502,7 @@ fi for ngx_module in $DYNAMIC_MODULES do eval ngx_module_srcs="\$${ngx_module}_SRCS" + eval ngx_module_shrd="\$${ngx_module}_SHRD" eval eval ngx_module_libs="\\\"\$${ngx_module}_LIBS\\\"" eval ngx_module_modules="\$${ngx_module}_MODULES" @@ -567,7 +568,7 @@ END | sed -e "s/\(.*\.\)c/\1$ngx_objext/"` ngx_module_objs= - for ngx_src in $ngx_module_srcs + for ngx_src in $ngx_module_srcs $ngx_module_shrd do case "$ngx_src" in src/*) |
