mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
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>
This commit is contained in:
committed by
Paolo Bonzini
parent
9ef497755a
commit
fb0a8b0e23
@@ -47,7 +47,7 @@ elif targetos == 'linux'
|
||||
system_ss.add(files('tap.c', 'tap-linux.c'))
|
||||
elif targetos in bsd_oses
|
||||
system_ss.add(files('tap.c', 'tap-bsd.c'))
|
||||
elif targetos == 'solaris'
|
||||
elif targetos == 'sunos'
|
||||
system_ss.add(files('tap.c', 'tap-solaris.c'))
|
||||
else
|
||||
system_ss.add(files('tap.c', 'tap-stub.c'))
|
||||
|
||||
Reference in New Issue
Block a user