Mercurial > hg > nginx
comparison auto/lib/libxslt/conf @ 6383:85dea406e18f
Dynamic modules.
The auto/module script is extended to understand ngx_module_link=DYNAMIC.
When set, it links the module as a shared object rather than statically
into nginx binary. The module can later be loaded using the "load_module"
directive.
New auto/module parameter ngx_module_order allows to define module loading
order in complex cases. By default the order is set based on ngx_module_type.
3rd party modules can be compiled dynamically using the --add-dynamic-module
configure option, which will preset ngx_module_link to "DYNAMIC" before
calling the module config script.
Win32 support is rudimentary, and only works when using MinGW gcc (which
is able to handle exports/imports automatically).
In collaboration with Ruslan Ermilov.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Thu, 04 Feb 2016 20:25:29 +0300 |
parents | d620f497c50f |
children | f7e79596baf2 |
comparison
equal
deleted
inserted
replaced
6382:392959224560 | 6383:85dea406e18f |
---|---|
74 | 74 |
75 | 75 |
76 if [ $ngx_found = yes ]; then | 76 if [ $ngx_found = yes ]; then |
77 | 77 |
78 CORE_INCS="$CORE_INCS $ngx_feature_path" | 78 CORE_INCS="$CORE_INCS $ngx_feature_path" |
79 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | 79 |
80 if [ $USE_LIBXSLT = YES ]; then | |
81 CORE_LIBS="$CORE_LIBS $ngx_feature_libs" | |
82 fi | |
83 | |
84 NGX_LIB_LIBXSLT=$ngx_feature_libs | |
80 | 85 |
81 else | 86 else |
82 | 87 |
83 cat << END | 88 cat << END |
84 | 89 |
150 . auto/feature | 155 . auto/feature |
151 fi | 156 fi |
152 | 157 |
153 | 158 |
154 if [ $ngx_found = yes ]; then | 159 if [ $ngx_found = yes ]; then |
155 CORE_LIBS="$CORE_LIBS -lexslt" | 160 if [ $USE_LIBXSLT = YES ]; then |
161 CORE_LIBS="$CORE_LIBS -lexslt" | |
162 fi | |
163 | |
164 NGX_LIB_LIBXSLT="$NGX_LIB_LIBXSLT -lexslt" | |
156 fi | 165 fi |