aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r--libbuild2/target.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx
index 2ac5f9a..fec522c 100644
--- a/libbuild2/target.cxx
+++ b/libbuild2/target.cxx
@@ -1209,6 +1209,10 @@ namespace build2
{
// Ok, no luck, switch the scope.
//
+ // Note that we don't need to do anything for the project's
+ // environment: source_once() will take care of it itself and
+ // search_implied() is not affected.
+ //
pair<scope&, scope*> sp (
switch_scope (*s.rw ().root_scope (), out_base));