diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-04-02 01:03:13 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-04-02 01:03:13 +0300 |
commit | a42a4d7bf35f7a642d7af1166dd38340389b2ff6 (patch) | |
tree | 44bbd58970e5c1ffbf7db6597962d98a68d3a690 | |
parent | 95877155857f3ddd0789f81590e909e84061f9bf (diff) | |
download | meson-a42a4d7bf35f7a642d7af1166dd38340389b2ff6.zip meson-a42a4d7bf35f7a642d7af1166dd38340389b2ff6.tar.gz meson-a42a4d7bf35f7a642d7af1166dd38340389b2ff6.tar.bz2 |
If should be elif.
-rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index c381ab5..e8fabc3 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 |