Sent from my iPhone
> On 28 Sep 2025, at 12:58 am, Patrick Luby <[email protected]> wrote: > > > >> On Sep 26, 2025, at 10:35 PM, Chris Sherlock <[email protected]> >> wrote: >> >> It is :-) that seems to a Darwin command, is that a script I don’t know >> about? > > The script is the ./configure command at the top of the source tree. When you > run ./autogen.sh, it runs “autoconf” to create the ./configure script form > ./configure.ac and then ./autogen.sh runs ./configure with all of the > settings in your ./autogen.input if it exists. > > The chunk of the ./configure script that checks the meson version on macOS is > in the following Gerrit patch. That is where there is an “if $_os is Darwin > and the macOS SDK is >= to 260000” command that I was referring to: > > https://gerrit.libreoffice.org/c/core/+/188863/8/configure.ac > > BTW, $_os is set to “Darwin” on macOS. Presumably from “uname“. That command > with no arguments returns “Darwin” for me. “uname -5” returns "uname: > illegal option — 5” so are you using something other than /usr/bin/uname? > > Patrick Sorry, that was a typo - I meant uname -r I appreciate the explanation, my shell scripting skills are obviously rusty! The script appears fine, but the option in the compiler_commands.json is definitely wrong. Is the harfbuzz compiler_commands.json generated by a script? Chris
