aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/d.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2020-03-06 16:00:32 -0800
committerDylan Baker <dylan@pnwbakers.com>2020-03-09 16:55:08 -0700
commitfe86c594c6a3b5f99d2150ae165c951e7a41955a (patch)
treece9c363e5f28951f19055ee9392653db28db1a61 /mesonbuild/compilers/d.py
parent1fe153a3a5ae235aa9b51cc4ff74e49fd339c858 (diff)
downloadmeson-fe86c594c6a3b5f99d2150ae165c951e7a41955a.zip
meson-fe86c594c6a3b5f99d2150ae165c951e7a41955a.tar.gz
meson-fe86c594c6a3b5f99d2150ae165c951e7a41955a.tar.bz2
Allow invoking the linker directly through dmd
DMD is awful in a lot of ways. To change the linker you set an environment variable, which is pretty much impossible for us.
Diffstat (limited to 'mesonbuild/compilers/d.py')
-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 293a2ae..a026e83 100644
--- a/mesonbuild/compilers/d.py
+++ b/mesonbuild/compilers/d.py
@@ -765,3 +765,6 @@ class DmdDCompiler(DmdLikeCompilerMixin, DCompiler):
def get_optimization_args(self, optimization_level):
return dmd_optimization_args[optimization_level]
+
+ def can_linker_accept_rsp(self) -> bool:
+ return False