aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/interpreter/compiler.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-07-22 12:29:22 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-07 13:38:12 +0200
commit90ee43463f4844b667d26230ef7773f63fcf60dd (patch)
treef0375f08b32f16cc388dcb8e2706b4e8074706ee /mesonbuild/interpreter/compiler.py
parent2997480ee6eb2e603b092913d50c6de7a5bc813f (diff)
downloadmeson-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/interpreter/compiler.py')
0 files changed, 0 insertions, 0 deletions