diff options
Diffstat (limited to 'libbuild2/search.cxx')
-rw-r--r-- | libbuild2/search.cxx | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libbuild2/search.cxx b/libbuild2/search.cxx index 8f5410c..2b10e0b 100644 --- a/libbuild2/search.cxx +++ b/libbuild2/search.cxx @@ -183,9 +183,13 @@ namespace build2 // Find or insert. Note that we are using our updated extension. // - auto r ( - ctx.targets.insert ( - *tk.type, move (d), move (out), *tk.name, ext, true, trace)); + auto r (ctx.targets.insert (*tk.type, + move (d), + move (out), + *tk.name, + ext, + target_decl::prereq_file, + trace)); // Has to be a file_target. // @@ -231,7 +235,7 @@ namespace build2 *tk.out, *tk.name, tk.ext, - true /* implied */, + target_decl::prereq_new, trace)); const target& t (r.first); |