From 64a6969defe0b3c467d83adb7c4fe4e6bca57190 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 1 Nov 2022 07:50:39 -0400 Subject: nasm: Implement get_crt_compile_args() This fix a crash when using NASM on Windows. --- mesonbuild/compilers/asm.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mesonbuild/compilers/asm.py b/mesonbuild/compilers/asm.py index 83b6ea6ac..501d8cd21 100644 --- a/mesonbuild/compilers/asm.py +++ b/mesonbuild/compilers/asm.py @@ -76,6 +76,9 @@ class NasmCompiler(Compiler): parameter_list[idx] = i[:2] + os.path.normpath(os.path.join(build_dir, i[2:])) return parameter_list + def get_crt_compile_args(self, crt_val: str, buildtype: str) -> T.List[str]: + return [] + class YasmCompiler(NasmCompiler): id = 'yasm' -- cgit v1.2.3