diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-16 13:02:10 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-16 13:02:10 +0200 |
commit | 8da6810950270a9fabd4e0d9c6ea6e214793d732 (patch) | |
tree | 48d8ae4157265c6b30fba4e2075a2d84ea53f5e8 /libbuild2/bin | |
parent | 5338cd3b93972c60ac90d4c2c5a640071f92d091 (diff) |
Try to find MSVC installation for absolute cl.exe paths
Without this extra logic recursive invocation of the build system (e.g., in
tests) will fail to obtain the full environment.
Diffstat (limited to 'libbuild2/bin')
-rw-r--r-- | libbuild2/bin/guess.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bin/guess.cxx b/libbuild2/bin/guess.cxx index 633c798..67fdc58 100644 --- a/libbuild2/bin/guess.cxx +++ b/libbuild2/bin/guess.cxx @@ -50,7 +50,7 @@ namespace build2 if (paths != nullptr) { process_path r ( - try_run_search (prog, + run_try_search (prog, true /* init */, dir_path () /* fallback */, true /* path_only */, |