We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48f1c8a commit 66eb0e1Copy full SHA for 66eb0e1
config
@@ -2,5 +2,14 @@ USE_MD5=YES
2
USE_SHA1=YES
3
USE_OPENSSL=YES
4
ngx_addon_name=ngx_http_upload_module
5
-HTTP_MODULES="$HTTP_MODULES ngx_http_upload_module"
6
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upload_module.c"
+
+if test -n "$ngx_module_link"; then
7
+ ngx_module_type=HTTP
8
+ ngx_module_name=$ngx_addon_name
9
+ ngx_module_srcs="$ngx_addon_dir/ngx_http_upload_module.c"
10
11
+ . auto/module
12
+else
13
+ HTTP_MODULES="$HTTP_MODULES ngx_http_upload_module"
14
+ NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_upload_module.c"
15
+fi
0 commit comments