OSDN Git Service

meson: Fix targetos match for illumos and Solaris.
authorJonathan Perkin <jonathan@perkin.org.uk>
Fri, 8 Sep 2023 17:45:42 +0000 (18:45 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 13 Sep 2023 07:33:51 +0000 (09:33 +0200)
commitfb0a8b0e238277296907ffe765bf76874cfc1df6
tree69bc1ad787f9ac67d06bf3aebdc58bbc450138ab
parent9ef497755afc252fb8e060c9ea6b0987abfd20b6
meson: Fix targetos match for illumos and Solaris.

qemu 8.1.0 breaks on illumos platforms due to _XOPEN_SOURCE and others no longer being set correctly, leading to breakage such as:

  https://us-central.manta.mnx.io/pkgsrc/public/reports/trunk/tools/20230908.1404/qemu-8.1.0/build.log

This is a result of meson conversion which incorrectly matches against 'solaris' instead of 'sunos' for uname.

First time submitting a patch here, hope I did it correctly.  Thanks.

Signed-off-by: Jonathan Perkin <jonathan@perkin.org.uk>
Message-ID: <ZPtdxtum9UVPy58J@perkin.org.uk>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
net/meson.build