Skip to content

Commit

Permalink
feature: now this module can be compiled as a dynamic module with ./c…
Browse files Browse the repository at this point in the history
…onfigure --add-dynamic-module=PATH in NGINX 1.9.11+. thanks Sjir Bagmeijer for the original patch in #44.
  • Loading branch information
agentzh committed Feb 11, 2016
1 parent cc19196 commit 2f93b9a
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions config
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@ HEADERS_MORE_DEPS=" \
$ngx_addon_dir/src/ngx_http_headers_more_util.h \
"

HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HEADERS_MORE_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HEADERS_MORE_DEPS"
if test -n "$ngx_module_link"; then
ngx_module_type=HTTP_AUX_FILTER
ngx_module_name=$ngx_addon_name
ngx_module_incs=
ngx_module_deps="$HEADERS_MORE_DEPS"
ngx_module_srcs="$HEADERS_MORE_SRCS"
ngx_module_libs=

. auto/module
else
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES $ngx_addon_name"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $HEADERS_MORE_SRCS"
NGX_ADDON_DEPS="$NGX_ADDON_DEPS $HEADERS_MORE_DEPS"
fi

0 comments on commit 2f93b9a

Please sign in to comment.