From bb1fa52a2f8ece8a36b9c88cfea982e54db3b3e7 Mon Sep 17 00:00:00 2001 From: Aaron Boman Date: Sun, 9 Oct 2016 00:05:35 -0500 Subject: [PATCH] Set target location on metatargets. --- src/build/targets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/build/targets.py b/src/build/targets.py index 7b3025476..367385376 100644 --- a/src/build/targets.py +++ b/src/build/targets.py @@ -82,6 +82,7 @@ from virtual_target import Subvariant from b2.exceptions import * from b2.util.sequence import unique from b2.util import path, bjam_signature, safe_isinstance, is_iterable_typed +from b2.build import errors from b2.build.errors import user_error_checkpoint import b2.build.build_request as build_request @@ -308,6 +309,7 @@ class AbstractTarget: self.name_ = name self.project_ = project + self.location_ = errors.nearest_user_location() def manager (self): return self.manager_