From 9b4e45cafcc8f1f74bcfce3071866ee5eab176a5 Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 2 Oct 2019 19:11:10 +0300 Subject: Fixed "make tests" build without preceding "make". Currently almost all Unit object files depends on generated nxt_version.h. This patch adds missing dependence and fixes running make with multiple jobs. This closes #318 issue on GitHub. --- auto/modules/ruby | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'auto/modules/ruby') diff --git a/auto/modules/ruby b/auto/modules/ruby index 7d379f2f..407406ce 100644 --- a/auto/modules/ruby +++ b/auto/modules/ruby @@ -160,7 +160,7 @@ for nxt_src in $NXT_RUBY_MODULE_SRCS; do cat << END >> $NXT_MAKEFILE -$NXT_BUILD_DIR/$nxt_obj: $nxt_src +$NXT_BUILD_DIR/$nxt_obj: $nxt_src $NXT_VERSION_H mkdir -p $NXT_BUILD_DIR/src/ruby \$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_RUBY_INCPATH \\ $nxt_dep_flags \\ -- cgit