From 73e85a2cfa5121fc8fdf8e4a191054e60e069108 Mon Sep 17 00:00:00 2001 From: pearj Date: Tue, 31 Mar 2015 10:05:09 +1100 Subject: [PATCH] Add dependency on vcc_if.h, to fix concurrent build issue Sometimes building with make -j fails, because it can't find vcc_if.h Adding a dependency on it, should help this problem. --- src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index ec45cf8..b5d8e77 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,6 +27,9 @@ libvmod_timers_la_SOURCES = \ vcc_if.h \ vmod_timers.c +# Needed to stop concurrent builds from failing +vmod_timers.lo: vcc_if.h + vcc_if.c vcc_if.h: $(SRC)/lib/libvmod_std/vmod.py $(top_srcdir)/$(DIR_PREFIX)src/vmod_timers.vcc @PYTHON@ $(SRC)/lib/libvmod_std/vmod.py $(top_srcdir)/$(DIR_PREFIX)src/vmod_timers.vcc