diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-07-22 12:29:22 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-09-07 13:38:12 +0200 |
commit | 90ee43463f4844b667d26230ef7773f63fcf60dd (patch) | |
tree | f0375f08b32f16cc388dcb8e2706b4e8074706ee /mesonbuild/mesonlib/universal.py | |
parent | 2997480ee6eb2e603b092913d50c6de7a5bc813f (diff) | |
download | meson-90ee43463f4844b667d26230ef7773f63fcf60dd.zip meson-90ee43463f4844b667d26230ef7773f63fcf60dd.tar.gz meson-90ee43463f4844b667d26230ef7773f63fcf60dd.tar.bz2 |
compilers: allow link tests to use objects from a different compiler
In some cases, link tests would like to use objects provided by a compiler
for a different language, for example linking a C object file with a C++
compiler. This kind of scenario is what link_language is for, but it is
impossible to test that it works with a linker test.
This patch implements the required support in the Compiler class. The
source code compiler is passed to the Compiler.links method as an
argument.
Diffstat (limited to 'mesonbuild/mesonlib/universal.py')
0 files changed, 0 insertions, 0 deletions