diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-09-16 17:43:27 +0200 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-09-24 07:48:22 -0700 |
| commit | 199e468e43cf69fb39733432e42899a2d984c198 (patch) | |
| tree | 94ccd29a543f83091f556f80108656340861d564 | |
| parent | ae834a35e44731ff6372ad0e88b81b302bb57983 (diff) | |
| download | meson-199e468e43cf69fb39733432e42899a2d984c198.tar.gz | |
compilers: use CRT linker arguments also for tests
get_crt_link_args was only called for the final linker command line; add
its result to the sanity check and compiler tests as well.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
| -rw-r--r-- | mesonbuild/compilers/mixins/clike.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index 716d23a0b..a492fffed 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -366,6 +366,7 @@ class CLikeCompiler(Compiler): assert isinstance(crt_val, str), 'for mypy' assert isinstance(buildtype, str), 'for mypy' cargs += self.get_crt_compile_args(crt_val, buildtype) + largs += self.get_crt_link_args(crt_val, buildtype) except (KeyError, AttributeError): pass |
