forked from yaoweibin/ngx_http_substitutions_filter_module
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request yaoweibin#19 from kriegsmanj/master
Feature: nginx dynamic module support fix yaoweibin#32 as well
- Loading branch information
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
ngx_addon_name=ngx_http_subs_filter_module | ||
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_subs_filter_module" | ||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_subs_filter_module.c" | ||
|
||
if test -n "$ngx_module_link"; then | ||
ngx_module_type=HTTP_FILTER | ||
ngx_module_name=ngx_http_subs_filter_module | ||
ngx_module_incs= | ||
ngx_module_deps= | ||
ngx_module_srcs="$ngx_addon_dir/ngx_http_subs_filter_module.c" | ||
ngx_module_libs="" | ||
|
||
. auto/module | ||
else | ||
HTTP_AUX_FILTER_MODULES="$HTTP_AUX_FILTER_MODULES ngx_http_subs_filter_module" | ||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_subs_filter_module.c" | ||
fi |