diff options
Diffstat (limited to 'build2/cc/link.cxx')
-rw-r--r-- | build2/cc/link.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx index 25b6a28..1cb3a11 100644 --- a/build2/cc/link.cxx +++ b/build2/cc/link.cxx @@ -65,9 +65,9 @@ namespace build2 if (lt.library ()) { if (t.group == nullptr) - t.group = targets.find ( - lt.utility ? libu::static_type : lib::static_type, - t.dir, t.out, t.name); + t.group = &search (t, + lt.utility ? libu::static_type : lib::static_type, + t.dir, t.out, t.name); } // Scan prerequisites and see if we can work with what we've got. Note |