]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Don't generate the probes.lo on macOS
authorOndřej Surý <ondrej@isc.org>
Wed, 23 Aug 2023 05:33:50 +0000 (07:33 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 23 Aug 2023 05:33:50 +0000 (07:33 +0200)
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.

Makefile.dtrace

index ea15124ec4e6bd09cd3a563ad4078ddedd9f3c9d..b5c9ebc4d5a7aad1dc8390e126d1c83e9fcb0500 100644 (file)
@@ -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