winebuild: Also try llvm variants of tools in find_tool.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Jacek Caban 2020-03-04 17:15:22 +01:00 committed by Alexandre Julliard
parent b648c92811
commit d473611469
1 changed files with 2 additions and 1 deletions

View File

@ -375,7 +375,8 @@ struct strarray find_tool( const char *name, const char * const *names )
while (*names)
{
if ((file = find_binary( target_alias, *names )))
if ((file = find_binary( target_alias, *names ))
|| (names == alt_names && (file = find_binary( "llvm", *names ))))
{
struct strarray ret = empty_strarray;
strarray_add_one( &ret, file );