We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1c4d97d + 42eeda5 commit 396137cCopy full SHA for 396137c
config
@@ -1,4 +1,16 @@
1
ngx_addon_name=ngx_http_aws_auth
2
-HTTP_MODULES="$HTTP_MODULES ngx_http_aws_auth_module"
3
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_aws_auth.c"
4
-CORE_LIBS="$CORE_LIBS -lssl"
+
+if test -n "$ngx_module_link"; then
+ ngx_module_type=HTTP
5
+ ngx_module_name=ngx_http_aws_auth
6
+ ngx_module_incs=
7
+ ngx_module_deps=
8
+ ngx_module_srcs="$ngx_addon_dir/ngx_http_aws_auth.c"
9
+ ngx_module_libs="$CORE_LIBS -lssl"
10
11
+ . auto/module
12
+else
13
+ HTTP_MODULES="$HTTP_MODULES ngx_http_aws_auth_module"
14
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_aws_auth.c"
15
+ CORE_LIBS="$CORE_LIBS -lssl"
16
+fi
0 commit comments