diff options
-rw-r--r-- | build2/file.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/file.cxx b/build2/file.cxx index 8b86d74..031790f 100644 --- a/build2/file.cxx +++ b/build2/file.cxx @@ -1167,7 +1167,9 @@ namespace build2 n += *tk.ext; } - process_path pp (process::try_path_search (n, true)); + // Only search in PATH (or CWD). + // + process_path pp (process::try_path_search (n, true, dir_path (), true)); if (!pp.empty ()) { |