mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
meson.build: Remove the logic to link C code with the C++ linker
We are not mixing C++ with C code anymore, the only remaining C++ code in qga/vss-win32/ is used for a plain C++ executable. Thus we can remove the hacks for linking C code with the C++ linker now to simplify meson.build a little bit, and also to avoid that some C++ code sneaks in by accident again. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-ID: <20230706064736.178962-1-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
3d7b89748a
commit
785abf0dcf
@ -9,7 +9,7 @@ endif
|
||||
have_qga_vss = get_option('qga_vss') \
|
||||
.require(targetos == 'windows',
|
||||
error_message: 'VSS support requires Windows') \
|
||||
.require(link_language == 'cpp',
|
||||
.require('cpp' in all_languages,
|
||||
error_message: 'VSS support requires a C++ compiler') \
|
||||
.require(have_vss, error_message: '''VSS support requires VSS headers.
|
||||
If your Visual Studio installation doesn't have the VSS headers,
|
||||
|
Reference in New Issue
Block a user