diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-20 12:26:35 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-20 12:26:35 +0200 |
commit | cddb2d17e71887fdb325afdc67905201d0220b13 (patch) | |
tree | 175760231452f2658a9c017d9d347dbcf3312bfa /libbuild2/dyndep.cxx | |
parent | b85ec1f2cc27ee178488de480eb3f64245a6e563 (diff) |
Don't create targets for non-existent source files
Diffstat (limited to 'libbuild2/dyndep.cxx')
-rw-r--r-- | libbuild2/dyndep.cxx | 4 |
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); }; |