From e4f3abce80e80789eafa05bcd5802a0a7015fcd0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 1 Jul 2020 13:41:39 +0200 Subject: Fix bug in *.export.imp_libs logic --- libbuild2/cc/pkgconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/cc/pkgconfig.cxx') diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 7fd07dc..35948de 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1068,7 +1068,7 @@ namespace build2 // Set even if empty (export override). // { - auto p (t.vars.insert (c_export_libs)); + auto p (t.vars.insert (la ? c_export_imp_libs : c_export_libs)); if (p.second) p.first.get () = move (libs); -- cgit v1.1