aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Alexeyev <akari@taisei-project.org>2019-10-14 18:19:44 +0300
committerDylan Baker <dylan@pnwbakers.com>2019-10-14 13:04:34 -0700
commit5dfd054c3204ec56aa3e10a632e8475a66a4bb30 (patch)
treeabffe6b2a69cd360ef8b9ea4be494af374277150
parentaf2c1e4eb79d9005df344826a2b789e9b3ac3000 (diff)
downloadmeson-5dfd054c3204ec56aa3e10a632e8475a66a4bb30.zip
meson-5dfd054c3204ec56aa3e10a632e8475a66a4bb30.tar.gz
meson-5dfd054c3204ec56aa3e10a632e8475a66a4bb30.tar.bz2
Workaround broken get_allow_undefined_link_args in DmdLikeCompilerMixin
Previously it worked by accident because BasicLinkerIsCompilerMixin had that method misspelled.
-rw-r--r--mesonbuild/compilers/d.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py
index f028bd5..e8355a8 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 = {