From 3b6db95e70641490325dbcef81674587e8b54832 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ondr=CC=8Cej=20Sury=CC=81?= Date: Wed, 23 Aug 2023 07:40:20 +0200 Subject: [PATCH] Regenerate the DTrace generated files on configure change The DTrace generated files were missing dependency on the Makefile, so they didn't get regenerated when ./configure was re-run. This would create problem especially between ./configure --enable-tracing vs ./configure --disable-tracing invocations. --- Makefile.dtrace | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.dtrace b/Makefile.dtrace index b5c9ebc4d5..9cb6b002b9 100644 --- a/Makefile.dtrace +++ b/Makefile.dtrace @@ -8,9 +8,9 @@ AM_V_DTRACE_0 = @echo " DTRACE $@"; BUILT_SOURCES += probes.h CLEANFILES += probes.h probes.o -probes.h: probes.d +probes.h: Makefile probes.d $(AM_V_DTRACE)$(DTRACE) -s $(srcdir)/probes.d -h -o $@ -probes.lo: probes.d $(DTRACE_DEPS) +probes.lo: Makefile probes.d $(DTRACE_DEPS) $(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS) if HAVE_DTRACE