Welcome! Log In Create A New Profile

Advanced

[njs] Fixed makefile dependency issue introduced in eb9258cfcf40.

Dmitry Volyntsev
March 17, 2020 02:06PM
details: https://hg.nginx.org/njs/rev/b2bea51069fd
branches:
changeset: 1354:b2bea51069fd
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Mon Mar 16 15:49:51 2020 +0300
description:
Fixed makefile dependency issue introduced in eb9258cfcf40.

diffstat:

auto/make | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r cc5c687ebc1c -r b2bea51069fd auto/make
--- a/auto/make Thu Mar 05 16:05:40 2020 +0300
+++ b/auto/make Mon Mar 16 15:49:51 2020 +0300
@@ -177,8 +177,8 @@ njs_src="src/test/njs_externals_test.c"
fname=$(basename $njs_src)
njs_externals_obj="test/${fname%.c}.o"
njs_dep="test/${fname%.c}.dep"
-njs_dep_flags=`njs_gen_dep_flags $njs_dep $fname`
-njs_dep_post=`njs_gen_dep_post $njs_dep $fname`
+njs_dep_flags=`njs_gen_dep_flags $njs_dep $njs_externals_obj`
+njs_dep_post=`njs_gen_dep_post $njs_dep $njs_externals_obj`

cat << END >> $NJS_MAKEFILE

@@ -209,8 +209,8 @@ do
\$(NJS_CC) -o $NJS_BUILD_DIR/$njs_bin \$(NJS_CFLAGS) \\
$NJS_LIB_AUX_CFLAGS \$(NJS_LIB_INCS) \\
$njs_dep_flags \\
+ $NJS_BUILD_DIR/$njs_externals_obj \\
-Injs $njs_src $NJS_BUILD_DIR/libnjs.a \\
- $NJS_BUILD_DIR/$njs_externals_obj \\
-lm $NJS_LIBS $NJS_LIB_AUX_LIBS
$njs_dep_post

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] Fixed makefile dependency issue introduced in eb9258cfcf40.

Dmitry Volyntsev 51 March 17, 2020 02:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready