aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-09-05 17:53:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-09-05 17:53:09 +0200
commit791062c4e10efd0b9afd59d5ff01f69bfb303960 (patch)
tree99ac65d074dfe493a79a948e7722ba745c351d60
parent42131c57e7bc35765d94446f0be356bbceaf525b (diff)
Fix bug in pkgconfig_load()
-rw-r--r--build2/cc/pkgconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx
index 10f8cce..b0634fb 100644
--- a/build2/cc/pkgconfig.cxx
+++ b/build2/cc/pkgconfig.cxx
@@ -1084,7 +1084,7 @@ namespace build2
// the saving logic).
//
pkgconf& ipc (sp.empty () ? apc : spc); // Interface package info.
- bool ibl ((sp.empty () ? st->path () : at->path ()).empty ()); // Binless.
+ bool ibl ((sp.empty () ? at->path () : st->path ()).empty ()); // Binless.
bool pa (at != nullptr && !ap.empty ());
if (pa || sp.empty ())