Skip to content

Commit edd7e02

Browse files
committed
config: Only build as dynamic module when really requested
Since commit 37182ce the module was always build as dynamic module. Probably because following a bad skeleton [1]. With this change we will only build a dynamic module when requested. Otherwise we will fall back to static build. Link: https://trac.nginx.org/nginx/ticket/1115 Gentoo-Bug: https://bugs.gentoo.org/593450 Fixes: #50
1 parent cfbbbf8 commit edd7e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ngx_addon_name=ngx_http_uploadprogress_module
2-
if test -n "$ngx_module_link"; then
2+
if [ $ngx_module_link = DYNAMIC ] ; then
33
ngx_module_type=FILTER
44
ngx_module_name=ngx_http_uploadprogress_module
55
ngx_module_srcs="$ngx_addon_dir/ngx_http_uploadprogress_module.c"

0 commit comments

Comments
 (0)