diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index a73f520cccd..be877080486 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -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 );