diff options
Diffstat (limited to 'build2/cc/link.cxx')
-rw-r--r-- | build2/cc/link.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cc/link.cxx b/build2/cc/link.cxx index 7c946aa..6c17037 100644 --- a/build2/cc/link.cxx +++ b/build2/cc/link.cxx @@ -693,7 +693,7 @@ namespace build2 { // If we need an interface value, then use the group (lib{}). // - if (const target* g = exp && l.is_a<libs> () ? l.group : &l) + if (const target* g = exp && l.is_a<libs> () ? l.group.get () : &l) { const variable& var ( com @@ -738,7 +738,7 @@ namespace build2 auto opt = [&cs, this] ( const file& l, const string& t, bool com, bool exp) { - if (const target* g = exp && l.is_a<libs> () ? l.group : &l) + if (const target* g = exp && l.is_a<libs> () ? l.group.get () : &l) { const variable& var ( com |