From 4879e24c27f481a3b2341f8be0f553030da98e0d Mon Sep 17 00:00:00 2001 From: Saikari Date: Tue, 17 Feb 2026 23:18:58 +0300 Subject: retry --- xmake/modules/detect/tools/find_gcc.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmake/modules/detect/tools/find_gcc.lua b/xmake/modules/detect/tools/find_gcc.lua index a4e0782e7..e785af2ad 100644 --- a/xmake/modules/detect/tools/find_gcc.lua +++ b/xmake/modules/detect/tools/find_gcc.lua @@ -22,7 +22,9 @@ import("lib.detect.find_program") import("lib.detect.find_programver") import("core.cache.detectcache") -import("core.base.winos") +if is_host("windows") then + import("core.base.winos") +end -- check gigabyte gcc function _check_gigabyte_gcc(program, opt) -- cgit v1.3.1