From: Michal Nowak Date: Tue, 2 Jun 2026 09:36:31 +0000 (+0000) Subject: Check the host system for dtrace on macOS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fd7e3395ee0254113105eaa0e7529dffe4523f1;p=thirdparty%2Fbind9.git Check the host system for dtrace on macOS The macOS dtrace check used build_machine, breaking cross builds; use host_machine like every other Darwin check. Assisted-by: Claude:claude-opus-4-8 --- diff --git a/meson.build b/meson.build index ad5fac58e9c..e9d039de8f7 100644 --- a/meson.build +++ b/meson.build @@ -956,7 +956,7 @@ dtrace_header = generator( arguments: ['-s', '@INPUT@', '-h', '-o', '@OUTPUT@'], ) -# Acutally, dtrace probes are still built with macOS. +# Actually, dtrace probes are still built with macOS. # macOS flavored dtrace doesn't recognize the -G option and # only uses headers. # @@ -964,8 +964,7 @@ dtrace_header = generator( # to be able to disable it. You can just not use the probes. config.set( 'HAVE_DTRACE', - dtrace.full_path() != dtrace_shim - and build_machine.system() != 'darwin', + dtrace.full_path() != dtrace_shim and host_machine.system() != 'darwin', ) cc.has_header('sys/sdt.h', required: tracing_opt) assert(