[njs] Configure: improved dependencies tracking.

Dmitry Volyntsev xeioex at nginx.com
Fri Nov 13 15:09:16 UTC 2020


details:   https://hg.nginx.org/njs/rev/fb059e00a887
branches:  
changeset: 1564:fb059e00a887
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Fri Nov 13 15:08:05 2020 +0000
description:
Configure: improved dependencies tracking.

Using nginx Makefile as a dependency for libnjs.a to ensure
libnjs.a is rebuilt after auto/configure invocation.

diffstat:

 nginx/config.make |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (11 lines):

diff -r a3f5ebcd7ef7 -r fb059e00a887 nginx/config.make
--- a/nginx/config.make	Tue Nov 10 17:46:01 2020 +0000
+++ b/nginx/config.make	Fri Nov 13 15:08:05 2020 +0000
@@ -1,6 +1,6 @@
 cat << END                                            >> $NGX_MAKEFILE
 
-$ngx_addon_dir/../build/libnjs.a:
+$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 \\


More information about the nginx-devel mailing list