From: Brendan Shanks <bshanks(a)codeweavers.com> --- tools/winebuild/utils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index 0f81832bd68..11fa33f27d9 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -254,6 +254,8 @@ struct strarray find_tool( const char *name, const char * const *names ) struct strarray clang = empty_strarray; strarray_add( &clang, "clang" ); file = find_clang_tool( clang, strmake( "llvm-%s", name )); + if (!file) + file = find_clang_tool( clang, name ); } if (!file) fatal_error( "cannot find the '%s' tool\n", name ); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/4966