diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2017-05-08 10:54:25 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2017-05-08 10:55:14 -0700 |
commit | 45affdd5f2764b5ac3808c0446fafa63d7529663 (patch) | |
tree | 3241d883535b84390b7cbdd8b71742c9524d2bd6 | |
parent | f056b585a2ace2831f22023031d4ac28b9f55aea (diff) | |
download | meson-45affdd5f2764b5ac3808c0446fafa63d7529663.zip meson-45affdd5f2764b5ac3808c0446fafa63d7529663.tar.gz meson-45affdd5f2764b5ac3808c0446fafa63d7529663.tar.bz2 |
Fix error log in LLVM, which used the wrong variable
And that variable could be undefined at this point.
-rw-r--r-- | mesonbuild/dependencies.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies.py b/mesonbuild/dependencies.py index ea5660e..f6ca8c3 100644 --- a/mesonbuild/dependencies.py +++ b/mesonbuild/dependencies.py @@ -1648,7 +1648,7 @@ class LLVMDependency(Dependency): self.check_llvmconfig(req_version) if not self._llvmconfig_found: if self.__best_found is not None: - mlog.log('found {!r} but need:'.format(self.version), + mlog.log('found {!r} but need:'.format(self.__best_found), req_version) else: mlog.log("No llvm-config found; can't detect dependency") |