aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-08-09 10:38:49 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-08-09 10:38:49 +0200
commiteaeeb079c1715b5b0ecc0b20bd4e5f45d0655452 (patch)
treea2cff872017f889bed19daa47bae31f67d3eb4c5 /libbuild2/cc
parentf137e28e1913d72bcb9cfb3d9aba78bf3b5c8426 (diff)
Print pkgconfig_save() command at verbosity 1 since can take long
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/pkgconfig.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx
index c3a9028..17cc2dc 100644
--- a/libbuild2/cc/pkgconfig.cxx
+++ b/libbuild2/cc/pkgconfig.cxx
@@ -1459,7 +1459,12 @@ namespace build2
const path& p (t->path ());
- if (verb >= 2)
+ // Note that generation can time some time if we have a large number of
+ // prerequisite libraries.
+ //
+ if (verb)
+ text << "gen " << *t;
+ else if (verb >= 2)
text << "cat >" << p;
if (ctx.dry_run)