]> git.kaiwu.me - njs.git/commitdiff
Fixed nginx modules building introduced in 9b37882ad552.
authorIgor Sysoev <igor@sysoev.ru>
Wed, 30 Nov 2016 11:10:49 +0000 (14:10 +0300)
committerIgor Sysoev <igor@sysoev.ru>
Wed, 30 Nov 2016 11:10:49 +0000 (14:10 +0300)
Removed old third party module addition method.

nginx/config

index e142113ed6020c60f95e486f8fa9b92e07cffa86..0959f8c4424d8a2a0b154a8298b2a8b47da804e3 100644 (file)
@@ -4,6 +4,7 @@ if [ $HTTP != NO ]; then
     ngx_module_type=HTTP
     ngx_module_name=ngx_http_js_module
     ngx_module_incs="$ngx_addon_dir/../nxt $ngx_addon_dir/../njs"
+    ngx_module_deps="$ngx_addon_dir/../build/libnjs.a"
     ngx_module_srcs="$ngx_addon_dir/ngx_http_js_module.c"
     ngx_module_libs="PCRE $ngx_addon_dir/../build/libnjs.a -lm"
 
@@ -14,10 +15,9 @@ if [ $STREAM != NO ]; then
     ngx_module_type=STREAM
     ngx_module_name=ngx_stream_js_module
     ngx_module_incs="$ngx_addon_dir/../nxt $ngx_addon_dir/../njs"
+    ngx_module_deps="$ngx_addon_dir/../build/libnjs.a"
     ngx_module_srcs="$ngx_addon_dir/ngx_stream_js_module.c"
     ngx_module_libs="PCRE $ngx_addon_dir/../build/libnjs.a -lm"
 
     . auto/module
 fi
-
-LINK_DEPS="$LINK_DEPS $ngx_addon_dir/../build/libnjs.a"