From 5dfd054c3204ec56aa3e10a632e8475a66a4bb30 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Mon, 14 Oct 2019 18:19:44 +0300 Subject: [PATCH] Workaround broken get_allow_undefined_link_args in DmdLikeCompilerMixin Previously it worked by accident because BasicLinkerIsCompilerMixin had that method misspelled. --- mesonbuild/compilers/d.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index f028bd5a4..e8355a882 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -393,6 +393,9 @@ class DmdLikeCompilerMixin: # their own arguments return Compiler.get_soname_args(self, *args, **kwargs) + def get_allow_undefined_link_args(self) -> typing.List[str]: + return self.linker.get_allow_undefined_args() + class DCompiler(Compiler): mscrt_args = {