diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-11-04 07:44:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-11-04 07:44:34 +0200 |
commit | 74c9269e1363e33e4b3223a029049a13e6595e7e (patch) | |
tree | 1d360d56c9f04e976e8ed5700fe0fde0a1dd420b /libbuild2/prerequisite.hxx | |
parent | 95da67852e7c837592a61fb44cd8acd325d16ba2 (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.hxx')
-rw-r--r-- | libbuild2/prerequisite.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbuild2/prerequisite.hxx b/libbuild2/prerequisite.hxx index 9b9cccf..008fc11 100644 --- a/libbuild2/prerequisite.hxx +++ b/libbuild2/prerequisite.hxx @@ -190,6 +190,8 @@ namespace build2 } using prerequisites = vector<prerequisite>; + + LIBBUILD2_SYMEXPORT extern const prerequisites empty_prerequisites; } #endif // LIBBUILD2_PREREQUISITE_HXX |