aboutsummaryrefslogtreecommitdiff
path: root/build2/install/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/install/rule.cxx')
-rw-r--r--build2/install/rule.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/install/rule.cxx b/build2/install/rule.cxx
index 13d8919..323060d 100644
--- a/build2/install/rule.cxx
+++ b/build2/install/rule.cxx
@@ -181,10 +181,10 @@ namespace build2
// will help a lot in case of any static installable content
// (headers, documentation, etc).
//
- if (pt->synchronized_state () != target_state::unchanged) //@@ MT?
- t.prerequisite_targets.push_back (pt);
- else
+ if (pt->unchanged ()) //@@ MT?
unmatch (a, *pt); // No intent to execute.
+ else
+ t.prerequisite_targets.push_back (pt);
// Skip members of ad hoc groups. We handle them explicitly below.
//