diff options
| -rw-r--r-- | xmake/modules/detect/sdks/find_mingw.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_mingw.lua b/xmake/modules/detect/sdks/find_mingw.lua index cdfef677c..cd4c7e85f 100644 --- a/xmake/modules/detect/sdks/find_mingw.lua +++ b/xmake/modules/detect/sdks/find_mingw.lua @@ -36,6 +36,9 @@ function _find_mingwdir(sdkdir) elseif is_host("macosx") and os.isdir("/usr/local/opt/mingw-w64") then sdkdir = "/usr/local/opt/mingw-w64" cprint("_find_mingwdir #2 %s", sdkdir) + elseif is_host("macosx") and os.isdir("/opt/homebrew/Cellar/mingw-w64") then + sdkdir = "/opt/homebrew/Cellar/mingw-w64" + cprint("_find_mingwdir #2 %s", sdkdir) elseif is_host("linux") then sdkdir = "/usr" elseif is_subhost("msys") then |
