diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-08 09:33:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-08 09:33:45 +0200 |
commit | d730f40440e213bc08cce4587439960c80ad9aa5 (patch) | |
tree | ec0d488f7dd83238accaab33db8660ae32b60870 /libbuild2/bin/guess.hxx | |
parent | 2c8b400010ffedec596969f64e79144f99d73f62 (diff) |
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.
Diffstat (limited to 'libbuild2/bin/guess.hxx')
-rw-r--r-- | libbuild2/bin/guess.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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); } } |