From 9c03dbab42d4499890955a98d30d91290d714d9a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 20 Jul 2022 17:03:54 +0200 Subject: Fix bug in cc::pkconfig_save() --- libbuild2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () : l); + const target& g (common ? *l.group : l); // By default we assume things go into install.{include, lib}. // -- cgit v1.1