Allow build as dynamically loaded module
This commit is contained in:
parent
2940513cf6
commit
c7e1c2db54
7
config
7
config
|
@ -3,3 +3,10 @@ USE_SHA1=YES
|
|||
ngx_addon_name=ngx_http_accesskey_module
|
||||
HTTP_MODULES="$HTTP_MODULES ngx_http_accesskey_module"
|
||||
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_accesskey_module.c"
|
||||
|
||||
if [ "$ngx_module_link" = DYNAMIC ] ; then
|
||||
ngx_module_type=HTTP
|
||||
ngx_module_name=ngx_http_accesskey_module
|
||||
ngx_module_srcs="$ngx_addon_dir/ngx_http_accesskey_module.c"
|
||||
. auto/module
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue