tokers / zstd-nginx-module

Nginx modules for the Zstandard compression
BSD 2-Clause "Simplified" License
196 stars 23 forks source link

Support for dynamic-module build #9

Open jengelh opened 2 years ago

jengelh commented 2 years ago
./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.

tokers commented 2 years ago

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

eilandert commented 2 years ago

this should now be possible