From: Ondřej Surý Date: Wed, 23 Aug 2023 05:33:50 +0000 (+0200) Subject: Don't generate the probes.lo on macOS X-Git-Tag: v9.19.17~38^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d13ea59a3cf6b5faa9aae1702312b1686b47f92a;p=thirdparty%2Fbind9.git Don't generate the probes.lo on macOS The DTrace on macOS only needs header file and the dtrace command doesn't have the -G option. Skip generating the object file on macOS, so the build doesn't fail. --- diff --git a/Makefile.dtrace b/Makefile.dtrace index ea15124ec4e..b5c9ebc4d5a 100644 --- a/Makefile.dtrace +++ b/Makefile.dtrace @@ -14,5 +14,7 @@ probes.lo: probes.d $(DTRACE_DEPS) $(AM_V_DTRACE)$(LIBTOOL) --mode=compile --tag=CC $(DTRACE) -s $(srcdir)/probes.d -G -o $@ $(DTRACE_OBJS) if HAVE_DTRACE +if !HOST_MACOS DTRACE_LIBADD = probes.lo endif +endif