From 83295bd3a1b27f844759aeadbbdc23f51e2f2d89 Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 4 Jun 2015 15:23:45 +0800 Subject: move clang compiler and linker to tools --- xmake/scripts/tools/tools.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/scripts/tools/tools.lua') diff --git a/xmake/scripts/tools/tools.lua b/xmake/scripts/tools/tools.lua index e29a2718b..af095618e 100644 --- a/xmake/scripts/tools/tools.lua +++ b/xmake/scripts/tools/tools.lua @@ -40,7 +40,7 @@ function tools._match(name, toolname) if name:find("^" .. toolname .. "$") then return true end -- contains it? ok - if name:find(toolname, true) then return true end + if name:find(toolname, 1, true) then return true end -- not matched return false -- cgit v1.3.1