16 lines
463 B
Diff
16 lines
463 B
Diff
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
|