aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/compile.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-07-08 17:07:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-07-08 17:07:27 +0200
commitc865883666028da1982b082a0754cc4a261afd27 (patch)
tree1ea2b0e188366f0b04f3eaacddbfd62ef32ab980 /build2/cxx/compile.cxx
parent86576cdd3c8d959ffe93f49b7744a99164f172ee (diff)
Add dependency on fsdir{} in alias rules
This makes sure that a directory with only dir{} target gets cleaned up.
Diffstat (limited to 'build2/cxx/compile.cxx')
-rw-r--r--build2/cxx/compile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx
index e0fabb4..25416e8 100644
--- a/build2/cxx/compile.cxx
+++ b/build2/cxx/compile.cxx
@@ -82,7 +82,7 @@ namespace build2
// Inject dependency on the output directory.
//
- fsdir* dir (inject_parent_fsdir (a, t));
+ fsdir* dir (inject_fsdir (a, t));
// Search and match all the existing prerequisites. The injection
// code (below) takes care of the ones it is adding.