zstd-nginx-module icon indicating copy to clipboard operation
zstd-nginx-module copied to clipboard

Support for dynamic-module build

Open jengelh opened this issue 3 years ago • 2 comments

./configure --add-dynamic-module=/zstd
[   20s] configuring additional dynamic modules
[   20s] adding module in /zstd
[   20s]     ./configure: error: ngx_http_zstd_filter_module can only be linked as an addon.
[   20s] checking for ZStandard static library ... not found
[   20s] checking for ZStandard dynamic library ... found

Would it be possible to support dynamic mode? ngx_brotli for example can do dynamic, so it seems that filters don't have a restriction to be hard-builtin.

jengelh avatar Jan 04 '22 17:01 jengelh

It's feasible, I'll try to support it as soon as possible, if you're interested in it, welcome to submit a PR :)

tokers avatar Jan 05 '22 01:01 tokers

this should now be possible

eilandert avatar Jan 26 '22 23:01 eilandert