diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-03-11 16:50:44 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-03-12 13:21:04 -0700 |
commit | 9c9dcbb1a836efacb44ac5effc0556ac4dd7fc1a (patch) | |
tree | 3d987fd958caa1598d961b2aa26cbdb99a5af0ff /mesonbuild/compilers/d.py | |
parent | 2ac480a0bdd20537cb01c188f248ced4f171b406 (diff) | |
download | meson-9c9dcbb1a836efacb44ac5effc0556ac4dd7fc1a.zip meson-9c9dcbb1a836efacb44ac5effc0556ac4dd7fc1a.tar.gz meson-9c9dcbb1a836efacb44ac5effc0556ac4dd7fc1a.tar.bz2 |
compilers/d: Support linker selection with gdc
This should have worked before, but the inheritance order was backwards,
so we got the DCompiler before the GnuCompiler, and the base Compiler
methods overrode the Gnu methods.
Diffstat (limited to 'mesonbuild/compilers/d.py')
-rw-r--r-- | mesonbuild/compilers/d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/d.py b/mesonbuild/compilers/d.py index 9a46a4e..eb3a0f3 100644 --- a/mesonbuild/compilers/d.py +++ b/mesonbuild/compilers/d.py @@ -627,7 +627,7 @@ class DCompiler(Compiler): return ' '.join(self.exelist) -class GnuDCompiler(DCompiler, GnuCompiler): +class GnuDCompiler(GnuCompiler, DCompiler): # we mostly want DCompiler, but that gives us the Compiler.LINKER_PREFIX instead LINKER_PREFIX = GnuCompiler.LINKER_PREFIX |