Skip to content

Conversation

@bonzini
Copy link
Collaborator

@bonzini bonzini commented Jan 20, 2026

With clang exists in the system path and cl does not, meson generates build.ninja file using clang as linker even for -msvc targets. Look at the target, and detect the correct C/C++ compiler based on whether it is a MSVC target.

Fixes: #6638

With clang exists in the system path and cl does not, meson generates build.ninja file using
clang as linker even for -msvc targets.  Look at the target, and detect the correct C/C++
compiler based on whether it is a MSVC target.

Fixes: mesonbuild#6638
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rust linker problem on windows when clang is present

2 participants