summaryrefslogtreecommitdiffhomepage
path: root/auto/modules/perl
diff options
context:
space:
mode:
Diffstat (limited to 'auto/modules/perl')
-rw-r--r--auto/modules/perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto/modules/perl b/auto/modules/perl
index a4fd5437..e9d7e109 100644
--- a/auto/modules/perl
+++ b/auto/modules/perl
@@ -164,7 +164,7 @@ for nxt_src in $NXT_PERL_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/perl
\$(CC) -c \$(CFLAGS) $NXT_PERL_CFLAGS \$(NXT_INCS) $NXT_PERL_INCLUDE \\
$nxt_dep_flags \\