From a42a4d7bf35f7a642d7af1166dd38340389b2ff6 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 2 Apr 2016 01:03:13 +0300 Subject: [PATCH] If should be elif. --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index c381ab506..e8fabc3a6 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -514,7 +514,7 @@ class Environment(): evar = 'AR' if evar in os.environ: linker = os.environ[evar].strip() - if isinstance(compiler, VisualStudioCCompiler): + elif isinstance(compiler, VisualStudioCCompiler): linker= self.vs_static_linker else: linker = self.default_static_linker