From ba8e7dccf1257fbec9c7a2eac8729fcec684a9ea Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Feb 2024 05:48:25 +0200 Subject: Extend class prerequisite constructors --- libbuild2/target.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbuild2/target.cxx') 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 (), -- cgit v1.1