From 9c9612d4679e4091af7aabc797e3a6ecbe7d3733 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Feb 2017 23:10:55 +0800 Subject: check golang tools for linux --- xmake/platforms/linux/check.lua | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.3.1