]> git.kaiwu.me - njs.git/commitdiff
Stream: added missed linking with libxml2 for the dynamic module.
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 28 Feb 2023 02:16:01 +0000 (18:16 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Tue, 28 Feb 2023 02:16:01 +0000 (18:16 -0800)
The issue was introduced in 99b9f83e4d4d (0.7.10).

nginx/config

index fb7fb923228fdc12782041cc7717c70b34fcdee6..474aaf1bcefee92bd1331ebe8a39defbd2d94908 100644 (file)
@@ -29,7 +29,7 @@ if [ $STREAM != NO ]; then
     ngx_module_incs="$ngx_addon_dir/../src $ngx_addon_dir/../build"
     ngx_module_deps="$ngx_addon_dir/../build/libnjs.a $NJS_DEPS"
     ngx_module_srcs="$ngx_addon_dir/ngx_stream_js_module.c $NJS_SRCS"
-    ngx_module_libs="PCRE OPENSSL $ngx_addon_dir/../build/libnjs.a -lm"
+    ngx_module_libs="PCRE OPENSSL LIBXSLT $ngx_addon_dir/../build/libnjs.a -lm"
 
     . auto/module
 fi