aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dyndep.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-01-11 12:40:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-01-11 12:40:22 +0200
commit021723f1346dc54ee37967fb6a8e7219b125cc42 (patch)
tree69729ea066a4825c9b55b6e40d74abbd0fae5eff /libbuild2/dyndep.cxx
parent19e7fce9b415f57d2477bed47b5ebc9eb8fc1d4d (diff)
Work around VC14 bug
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r--libbuild2/dyndep.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbuild2/dyndep.cxx b/libbuild2/dyndep.cxx
index 0865ccb..73fc8eb 100644
--- a/libbuild2/dyndep.cxx
+++ b/libbuild2/dyndep.cxx
@@ -550,7 +550,8 @@ namespace build2
// implied ones because pre-entered members of a target group
// (e.g., cli.cxx) are implied.
//
- if (x->decl >= target_decl::implied)
+ if (x->decl == target_decl::real ||
+ x->decl == target_decl::implied)
{
r = x;
break;