aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-01-14 21:41:52 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-01-14 21:41:52 +0200
commit275ac36a28c32b8b7baec8fa29927d4df7314da4 (patch)
treea8ffc8ccf4b24eefc12beaea4edb140e78b88ccc
parent670d0ed929e8348b02ce17e9215b83e2d82e4c40 (diff)
downloadmeson-275ac36a28c32b8b7baec8fa29927d4df7314da4.zip
meson-275ac36a28c32b8b7baec8fa29927d4df7314da4.tar.gz
meson-275ac36a28c32b8b7baec8fa29927d4df7314da4.tar.bz2
Some more error logging.
-rw-r--r--dependencies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dependencies.py b/dependencies.py
index 7aa2464..c6d4228 100644
--- a/dependencies.py
+++ b/dependencies.py
@@ -130,7 +130,7 @@ class PkgConfigDependency(Dependency):
stderr=subprocess.PIPE)
out = p.communicate()[0]
if p.returncode != 0:
- raise RuntimeError('Could not generate cargs for %s.' % name)
+ raise RuntimeError('Could not generate cargs for %s:\n\n%s' % (name, out.decode(errors='ignore')))
self.cargs = out.decode().split()
p = subprocess.Popen([pkgbin, '--libs', name], stdout=subprocess.PIPE,