diff options
author | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-16 07:03:27 -0700 |
---|---|---|
committer | Dan Nicholson <dbn.lists@gmail.com> | 2013-05-17 05:53:13 -0700 |
commit | 715cc306b0e4add06523b8fcce49867da469a728 (patch) | |
tree | 7fd7573541ebf4d10a01f280176aa26b6aeb58a0 /pkg.h | |
parent | 2f41b2de42c77b8f44048295a8a3f794711cd4df (diff) | |
download | pkg-config-715cc306b0e4add06523b8fcce49867da469a728.tar.gz |
Allow errors in .pc files for --list-all
Normally, the parser will exit immediately when it encounters errors in
.pc files. This is good most of the time, but for --list-all, the
purpose is to just get a quick list of packages and not to validate .pc
files. This is especially the case for pkg-config wrappers such as the
Ruby or Bash completion modules that scrape the output from --list-all
and don't expect to encounter errors there.
Freedesktop #26615 (https://bugs.freedesktop.org/show_bug.cgi?id=26615)
Diffstat (limited to 'pkg.h')
-rw-r--r-- | pkg.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -134,6 +134,9 @@ extern char *pcsysrootdir; */ extern char *pkg_config_pc_path; +/* Exit on parse errors if TRUE. */ +extern gboolean parse_strict; + /* If TRUE, define "prefix" in .pc files at runtime. */ extern gboolean define_prefix; |