Workaround broken get_allow_undefined_link_args in DmdLikeCompilerMixin

Previously it worked by accident because BasicLinkerIsCompilerMixin had
that method misspelled.
This commit is contained in:
Andrei Alexeyev 2019-10-14 18:19:44 +03:00 committed by Dylan Baker
parent af2c1e4eb7
commit 5dfd054c32
1 changed files with 3 additions and 0 deletions

View File

@ -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 = {