Allow build as dynamically loaded module

This commit is contained in:
Martchus 2018-04-22 16:46:27 +02:00
parent 2940513cf6
commit c7e1c2db54
1 changed files with 7 additions and 0 deletions

7
config
View File

@ -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