aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/link-rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-10-16 09:30:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-10-16 09:30:39 +0200
commit5d68312bd6973407ae7546ea73d91b4dc8c37741 (patch)
tree31c28ec1594152c66b159dad491cb2fcc8fd97e1 /libbuild2/cc/link-rule.cxx
parentf034a1bb4a7458e53e438b696713129c099bd185 (diff)
Skip regenerating .pc files during uninstall
Diffstat (limited to 'libbuild2/cc/link-rule.cxx')
-rw-r--r--libbuild2/cc/link-rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index 2d0fc81..fa9a1f1 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -2372,7 +2372,8 @@ namespace build2
// (Re)generate pkg-config's .pc file. While the target itself might be
// up-to-date from a previous run, there is no guarantee that .pc exists
// or also up-to-date. So to keep things simple we just regenerate it
- // unconditionally.
+ // unconditionally (and avoid doing so on uninstall; see pkconfig_save()
+ // for details).
//
// Also, if you are wondering why don't we just always produce this .pc,
// install or no install, the reason is unless and until we are updating