summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/checker.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-07-19 21:41:14 +0800
committerruki <[email protected]>2016-07-19 21:41:14 +0800
commitb078142f30ae6f1233a327ada57a52f5014e8e3a (patch)
treeda9f7fcbce1cfbd693e19ef7de95f53ab737ad7e /xmake/platforms/linux/checker.lua
parentfde422332753177ad7e7f17b602f617d222a3864 (diff)
fix check ld failed on linux
Diffstat (limited to 'xmake/platforms/linux/checker.lua')
-rw-r--r--xmake/platforms/linux/checker.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/platforms/linux/checker.lua b/xmake/platforms/linux/checker.lua
index 17556f44c..6e2d11219 100644
--- a/xmake/platforms/linux/checker.lua
+++ b/xmake/platforms/linux/checker.lua
@@ -68,10 +68,13 @@ function _check_toolchains(config)
checker.check_toolchain(config, "cxx", cross, "g++", "the c++ compiler")
checker.check_toolchain(config, "as", cross, "gcc", "the assember")
checker.check_toolchain(config, "ld", cross, "g++", "the linker")
+ checker.check_toolchain(config, "ld", cross, "gcc", "the linker")
checker.check_toolchain(config, "ar", cross, "ar", "the static library archiver")
checker.check_toolchain(config, "ex", cross, "ar", "the static library extractor")
checker.check_toolchain(config, "sh", cross, "g++", "the shared library linker")
+ checker.check_toolchain(config, "sh", cross, "gcc", "the shared library linker")
checker.check_toolchain(config, "dd", cross, "gdb", "the debugger")
+ checker.check_toolchain(config, "dd", cross, "lldb", "the debugger")
end
-- init it