aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r--libbuild2/cc/pkgconfig.cxx2
1 files changed, 1 insertions, 1 deletions
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);