aboutsummaryrefslogtreecommitdiff
path: root/build2/target.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/target.cxx')
-rw-r--r--build2/target.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/target.cxx b/build2/target.cxx
index 540f4b4..3b6e06f 100644
--- a/build2/target.cxx
+++ b/build2/target.cxx
@@ -110,7 +110,7 @@ namespace build2
// If this target is from the src tree, use its out directory to find
// the scope.
//
- return scopes.find (out.empty () ? dir : out);
+ return scopes.find (out_dir ());
}
scope& target::