summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/java
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--auto/modules/java2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/java b/auto/modules/java
index 24ee4927..b0fd62f1 100644
--- a/auto/modules/java
+++ b/auto/modules/java
@@ -336,7 +336,7 @@ for nxt_src in $NXT_JAVA_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/java
\$(CC) -c \$(CFLAGS) \$(NXT_INCS) $NXT_JAVA_INCLUDE \\
$nxt_dep_flags \\