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>
This commit is contained in:
parent
b648c92811
commit
d473611469
|
@ -375,7 +375,8 @@ struct strarray find_tool( const char *name, const char * const *names )
|
||||||
|
|
||||||
while (*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;
|
struct strarray ret = empty_strarray;
|
||||||
strarray_add_one( &ret, file );
|
strarray_add_one( &ret, file );
|
||||||
|
|
Loading…
Reference in New Issue