From d473611469e1590c10abfedcf3200640e2a5c031 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Wed, 4 Mar 2020 17:15:22 +0100 Subject: [PATCH] winebuild: Also try llvm variants of tools in find_tool. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- tools/winebuild/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 );