aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.com>2022-11-01 07:50:39 -0400
committerJussi Pakkanen <jpakkane@gmail.com>2022-11-01 18:51:10 +0200
commit64a6969defe0b3c467d83adb7c4fe4e6bca57190 (patch)
treeba495a6ccb4ca20b891def65db5d2463ed19feb6 /mesonbuild
parent060595f0d0f02a871657818bde55c14f164cbb19 (diff)
downloadmeson-64a6969defe0b3c467d83adb7c4fe4e6bca57190.zip
meson-64a6969defe0b3c467d83adb7c4fe4e6bca57190.tar.gz
meson-64a6969defe0b3c467d83adb7c4fe4e6bca57190.tar.bz2
nasm: Implement get_crt_compile_args()
This fix a crash when using NASM on Windows.
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/compilers/asm.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/compilers/asm.py b/mesonbuild/compilers/asm.py
index 83b6ea6..501d8cd 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'