Merge pull request #709 from vinszent/master

'name' needs to be 'self.name' in DependencyException
pull/717/head
Igor Gnatenko 8 years ago committed by GitHub
commit bf2ec8fd8f
  1. 4
      mesonbuild/dependencies.py

@ -154,7 +154,7 @@ class PkgConfigDependency(Dependency):
out = p.communicate()[0]
if p.returncode != 0:
raise DependencyException('Could not generate cargs for %s:\n\n%s' % \
(name, out.decode(errors='ignore')))
(self.name, out.decode(errors='ignore')))
self.cargs = out.decode().split()
def _set_libs(self):
@ -166,7 +166,7 @@ class PkgConfigDependency(Dependency):
out = p.communicate()[0]
if p.returncode != 0:
raise DependencyException('Could not generate libs for %s:\n\n%s' % \
(name, out.decode(errors='ignore')))
(self.name, out.decode(errors='ignore')))
self.libs = []
for lib in out.decode().split():
if lib.endswith(".la"):

Loading…
Cancel
Save