aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/pkgconfig.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cc/pkgconfig.cxx b/build2/cc/pkgconfig.cxx
index 4a5465d..0071bcd 100644
--- a/build2/cc/pkgconfig.cxx
+++ b/build2/cc/pkgconfig.cxx
@@ -843,9 +843,9 @@ namespace build2
os << ' ' << p; // Something "system'y", pass as is.
};
- auto opt = [&os] (const file&,
- const string&,
- bool, bool)
+ auto opt = [] (const file&,
+ const string&,
+ bool, bool)
{
//@@ TODO: should we filter -L similar to -I?
//@@ TODO: how will the Libs/Libs.private work?