diff options
Diffstat (limited to 'libbuild2/install')
-rw-r--r-- | libbuild2/install/rule.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index 8a5d174..b8d6a34 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -978,7 +978,9 @@ namespace build2 // Then installable ad hoc group members, if any. // - for (const target* m (t.member); m != nullptr; m = m->member) + for (const target* m (t.adhoc_member); + m != nullptr; + m = m->adhoc_member) { if (const file* mf = m->is_a<file> ()) { @@ -1256,7 +1258,9 @@ namespace build2 // we would have to do it in reverse, but that's not easy (it's a // single-linked list). // - for (const target* m (t.member); m != nullptr; m = m->member) + for (const target* m (t.adhoc_member); + m != nullptr; + m = m->adhoc_member) { if (const file* mf = m->is_a<file> ()) { |