If should be elif.

pull/500/head
Jussi Pakkanen 9 years ago
parent 9587715585
commit a42a4d7bf3
  1. 2
      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

Loading…
Cancel
Save