aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/pkgconfig.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-07-01 13:41:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-07-01 13:41:39 +0200
commite4f3abce80e80789eafa05bcd5802a0a7015fcd0 (patch)
tree12b7d144289103ba2c86ed73c07913b97d483d9d /libbuild2/cc/pkgconfig.cxx
parent8c4614233ee448f842e195cd41abd900b235dc3d (diff)
Fix bug in *.export.imp_libs logic
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);