From d730f40440e213bc08cce4587439960c80ad9aa5 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 8 Oct 2019 09:33:45 +0200 Subject: Redo bin pattern as PATH-like search paths rather than fallback directory Also, unlike the fallback directory, the search paths are searched first rather than last. --- libbuild2/bin/guess.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libbuild2/bin/guess.hxx') diff --git a/libbuild2/bin/guess.hxx b/libbuild2/bin/guess.hxx index 0e04ba5..b4239c2 100644 --- a/libbuild2/bin/guess.hxx +++ b/libbuild2/bin/guess.hxx @@ -46,7 +46,7 @@ namespace build2 // attemplated and the returned ranlib_* members will be left empty. // ar_info - guess_ar (const path& ar, const path* ranlib, const dir_path& fallback); + guess_ar (const path& ar, const path* ranlib, const char* paths); // ld information. // @@ -77,7 +77,7 @@ namespace build2 }; ld_info - guess_ld (const path& ld, const dir_path& fallback); + guess_ld (const path& ld, const char* paths); // rc information. // @@ -101,7 +101,7 @@ namespace build2 }; rc_info - guess_rc (const path& rc, const dir_path& fallback); + guess_rc (const path& rc, const char* paths); } } -- cgit v1.1