diff options
author | Paolo Bonzini | 2021-11-04 14:35:14 +0100 |
---|---|---|
committer | Paolo Bonzini | 2021-11-08 10:55:58 +0100 |
commit | 565174d08ed34a849f8420f0d9c97d08be3835aa (patch) | |
tree | a728e7e4c252353a07f52cd5ec26a18f55e03176 /docs/devel/build-system.rst | |
parent | hw/scsi/scsi-disk: MODE_PAGE_ALLS not allowed in MODE SELECT commands (diff) | |
download | qemu-565174d08ed34a849f8420f0d9c97d08be3835aa.tar.gz qemu-565174d08ed34a849f8420f0d9c97d08be3835aa.tar.xz qemu-565174d08ed34a849f8420f0d9c97d08be3835aa.zip |
meson: perform snappy test with the C++ compiler if used
Snappy is written in C++ and as such needs to link against libstdc++. When
linking statically, this means that the compile test cannot succeed unless
performed with a C++ compiler. Do so if link_language is set to C++; if it
is C, the test will usually fail and snappy will be disabled.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'docs/devel/build-system.rst')
0 files changed, 0 insertions, 0 deletions