From 8da6810950270a9fabd4e0d9c6ea6e214793d732 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 16 Oct 2019 13:02:10 +0200 Subject: 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. --- libbuild2/bin/guess.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbuild2/bin') 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 */, -- cgit v1.1