diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-14 21:41:52 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2016-01-14 21:41:52 +0200 |
commit | 275ac36a28c32b8b7baec8fa29927d4df7314da4 (patch) | |
tree | a8ffc8ccf4b24eefc12beaea4edb140e78b88ccc | |
parent | 670d0ed929e8348b02ce17e9215b83e2d82e4c40 (diff) | |
download | meson-275ac36a28c32b8b7baec8fa29927d4df7314da4.zip meson-275ac36a28c32b8b7baec8fa29927d4df7314da4.tar.gz meson-275ac36a28c32b8b7baec8fa29927d4df7314da4.tar.bz2 |
Some more error logging.
-rw-r--r-- | dependencies.py | 2 |
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, |