aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-03-09 15:00:41 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-03-14 22:05:55 -0700
commit2be074b1d445fcd30535bcf7518f8ce0738bcbf3 (patch)
tree8f93fabd6ecc2cd2812b8fb2d7fa356a1385f578 /mesonbuild/environment.py
parent320412b3bbe97d8779d715f992f7a88d3a461ace (diff)
downloadmeson-2be074b1d445fcd30535bcf7518f8ce0738bcbf3.zip
meson-2be074b1d445fcd30535bcf7518f8ce0738bcbf3.tar.gz
meson-2be074b1d445fcd30535bcf7518f8ce0738bcbf3.tar.bz2
ninjabackend: Use rsp_file_syntax method
This also makes us of the new enum value in the backend, for better type saftey.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 5bc28ba..620e0d2 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -2061,7 +2061,7 @@ class Environment:
if 'DMD32 D Compiler' in out or 'DMD64 D Compiler' in out:
return DLinker(linker, compiler.arch)
if 'LDC - the LLVM D compiler' in out:
- return DLinker(linker, compiler.arch)
+ return DLinker(linker, compiler.arch, rsp_syntax=compiler.rsp_file_syntax())
if 'GDC' in out and ' based on D ' in out:
return DLinker(linker, compiler.arch)
if err.startswith('Renesas') and ('rlink' in linker or 'rlink.exe' in linker):