diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-02-12 05:48:25 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-02-12 05:48:25 +0200 |
commit | ba8e7dccf1257fbec9c7a2eac8729fcec684a9ea (patch) | |
tree | 948b21f8e6c79f0a3ef919c67b7a88b67f26e23b /libbuild2/target.cxx | |
parent | 7bbe8042dbbea81c713576e1ce69d00bbba5d4b6 (diff) |
Extend class prerequisite constructors
Diffstat (limited to 'libbuild2/target.cxx')
-rw-r--r-- | libbuild2/target.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libbuild2/target.cxx b/libbuild2/target.cxx index 5a352a8..2e25dd3 100644 --- a/libbuild2/target.cxx +++ b/libbuild2/target.cxx @@ -1424,8 +1424,7 @@ namespace build2 if (e.type () == entry_type::directory) { r.push_back ( - prerequisite (nullopt, - dir::static_type, + prerequisite (dir::static_type, dir_path (e.path ().representation ()), // Relative. dir_path (), // In the out tree. string (), |