aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dyndep.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r--libbuild2/dyndep.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/dyndep.cxx b/libbuild2/dyndep.cxx
index 94d2028..9816ad6 100644
--- a/libbuild2/dyndep.cxx
+++ b/libbuild2/dyndep.cxx
@@ -445,7 +445,7 @@ namespace build2
// The directory is only moved from if insert is true. Note that it must
// be normalized.
//
- auto find = [&trace, what, &t,
+ auto find = [&trace, what, &bs, &t,
&map_extension,
&fallback] (dir_path&& d,
path&& f,
@@ -603,7 +603,7 @@ namespace build2
// @@ OPT: move d, out, n
//
if (r == nullptr && insert)
- r = &search (t, *tts[0], d, out, n, &e);
+ r = &search (t, *tts[0], d, out, n, &e, &bs);
return static_cast<const file*> (r);
};