diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-20 17:03:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-07-20 17:03:54 +0200 |
commit | 9c03dbab42d4499890955a98d30d91290d714d9a (patch) | |
tree | f731db58f624ffaaef500201de936e004f080fb8 | |
parent | 1ff8c01e12a2ec68bbe304e53add5679b3afffb9 (diff) |
Fix bug in cc::pkconfig_save()
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 74c5bdd..647f9a7 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1311,7 +1311,7 @@ namespace build2 // This is the lib{} group if we are generating the common file and the // target itself otherwise. // - const file& g (common ? l.group->as<file> () : l); + const target& g (common ? *l.group : l); // By default we assume things go into install.{include, lib}. // |