Skip to content

Commit

Permalink
Allow to build as dynamic module
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcin Deranek committed Apr 28, 2016
1 parent 4edfb18 commit f70df7a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions config
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# -*- mode:sh; -*-
ngx_addon_name=ngx_http_auth_digest_module
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_digest_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_digest_module.c"

if test -n "$ngx_module_link"; then
ngx_module_type=HTTP
ngx_module_name=ngx_http_auth_digest_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_auth_digest_module.c"

. auto/module
else
HTTP_MODULES="$HTTP_MODULES ngx_http_auth_digest_module"
NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_auth_digest_module.c"
fi

0 comments on commit f70df7a

Please sign in to comment.