aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/prerequisite.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-11-04 07:44:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-11-04 07:44:34 +0200
commit74c9269e1363e33e4b3223a029049a13e6595e7e (patch)
tree1d360d56c9f04e976e8ed5700fe0fde0a1dd420b /libbuild2/prerequisite.cxx
parent95da67852e7c837592a61fb44cd8acd325d16ba2 (diff)
Redo group_prerequisites to use snapshots of prerequisites (GH issue #408)
It turns out both target and group prerequisites can be replaced during dependency synthesis in more obscure cases.
Diffstat (limited to 'libbuild2/prerequisite.cxx')
-rw-r--r--libbuild2/prerequisite.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/prerequisite.cxx b/libbuild2/prerequisite.cxx
index bb77c9e..ec18665 100644
--- a/libbuild2/prerequisite.cxx
+++ b/libbuild2/prerequisite.cxx
@@ -91,4 +91,8 @@ namespace build2
return r;
}
+
+ // prerequisites
+ //
+ const prerequisites empty_prerequisites;
}