void-packages/srcpkgs/nginx/files/njs~nginx-1.20.x-compat.patch

16 lines
463 B
Diff
Raw Normal View History

2024-08-18 14:13:59 +02:00
Fix compatibility with nginx 1.20.x.
See-Also: https://github.com/nginx/njs/issues/18
--- a/nginx/config.make
+++ b/nginx/config.make
@@ -3,7 +3,7 @@
$ngx_addon_dir/../build/libnjs.a: $NGX_MAKEFILE
cd $ngx_addon_dir/.. \\
&& if [ -f build/Makefile ]; then \$(MAKE) clean; fi \\
- && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure --no-openssl --no-libxml2 --no-zlib --no-pcre \\
+ && CFLAGS="\$(CFLAGS)" CC="\$(CC)" ./configure \\
&& \$(MAKE) libnjs
END