summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index f0f2762..62758b8 100644
--- a/main.c
+++ b/main.c
@@ -621,6 +621,10 @@ main (int argc, char **argv)
if (pkg_flags == 0 && !want_requires && !want_exists)
disable_requires();
+ /* Allow errors in .pc files when listing all. */
+ if (want_list)
+ parse_strict = FALSE;
+
if (want_my_version)
{
printf ("%s\n", VERSION);