summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/platforms/linux/check.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua
index c4f89e11c..0b8679fa1 100644
--- a/xmake/platforms/linux/check.lua
+++ b/xmake/platforms/linux/check.lua
@@ -113,6 +113,11 @@ function _check_toolchains(config)
checker.check_toolchain(config, "sh", cross, "clang", "the shared library linker")
checker.check_toolchain(config, "sc", cross, "swiftc", "the swift compiler")
checker.check_toolchain(config, "dd", cross, "lldb", "the debugger")
+
+ -- check for go tools
+ checker.check_toolchain(config, "go", "", "go", "the golang compiler")
+ checker.check_toolchain(config, "go-ar","", "go", "the golang archiver")
+ checker.check_toolchain(config, "go-ld","", "go", "the golang linker")
end
-- check it