From 2be074b1d445fcd30535bcf7518f8ce0738bcbf3 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 9 Mar 2021 15:00:41 -0800 Subject: ninjabackend: Use rsp_file_syntax method This also makes us of the new enum value in the backend, for better type saftey. --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/environment.py') diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 5bc28ba57..620e0d22a 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): -- cgit v1.2.3