diff options
Diffstat (limited to 'libbuild2/cc/pkgconfig.cxx')
-rw-r--r-- | libbuild2/cc/pkgconfig.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libbuild2/cc/pkgconfig.cxx b/libbuild2/cc/pkgconfig.cxx index 7061491..c3a9028 100644 --- a/libbuild2/cc/pkgconfig.cxx +++ b/libbuild2/cc/pkgconfig.cxx @@ -1662,7 +1662,7 @@ namespace build2 if (al != nullptr && al->end != appended_library::npos) { d.ls.hoist (d.args, *al); - return; + return true; } if (l != nullptr) @@ -1680,6 +1680,8 @@ namespace build2 if (al != nullptr) al->end = d.args.size (); // Close. + + return true; }; auto opt = [&d] (const target& lt, const string&, bool, bool) @@ -1693,7 +1695,9 @@ namespace build2 // See link_rule::append_libraries(). if (d.ls.append (l, d.args.size ()).end != appended_library::npos) - return; + return true; + + return true; }; // Pretend we are linking an executable using what would be normal, |