Module: wine Branch: master Commit: f5c00e3870937a91da8d9acce1681577e9a070d9 URL: https://gitlab.winehq.org/wine/wine/-/commit/f5c00e3870937a91da8d9acce168157...
Author: Brendan Shanks bshanks@codeweavers.com Date: Tue Jan 30 10:50:15 2024 -0800
winebuild: As a last resort, search for tools un-prefixed using clang.
---
tools/winebuild/utils.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c index 8d7c4c9afc2..6048b99f267 100644 --- a/tools/winebuild/utils.c +++ b/tools/winebuild/utils.c @@ -247,6 +247,7 @@ struct strarray find_tool( const char *name, const char * const *names ) if (!file && cc_command.count) file = find_clang_tool( cc_command, name ); if (!file) file = find_binary( "llvm", name ); if (!file) file = find_clang_tool( empty_strarray, strmake( "llvm-%s", name )); + if (!file) file = find_clang_tool( empty_strarray, name );
if (!file) fatal_error( "cannot find the '%s' tool\n", name );