diff options
-rw-r--r-- | mesonbuild/compilers/mixins/clike.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/clike.py b/mesonbuild/compilers/mixins/clike.py index 49b9567..dfd26d4 100644 --- a/mesonbuild/compilers/mixins/clike.py +++ b/mesonbuild/compilers/mixins/clike.py @@ -456,7 +456,7 @@ class CLikeCompiler(Compiler): # on MSVC compiler and linker flags must be separated by the "/link" argument # at this point, the '/link' argument may already be part of extra_args, otherwise, it is added here - if self.linker_to_compiler_args([]) == ['/link'] and largs != [] and not '/link' in extra_args: + if self.linker_to_compiler_args([]) == ['/link'] and largs != [] and '/link' not in extra_args: extra_args += ['/link'] args = cargs + extra_args + largs |