summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2016-06-10 13:26:47 +0800
committerruki <[email protected]>2016-06-10 13:26:47 +0800
commit38c07cd824a33740accf14dda963aad1f2dc9366 (patch)
treef4883f4af6965bbb7ddf27b8d2bfc9b946bf93d9 /xmake/plugins
parentcb9ce25dd0e7669189124a89bf6171190707b13e (diff)
improve mingw and cross toolchains configure
Diffstat (limited to 'xmake/plugins')
-rwxr-xr-xxmake/plugins/doxygen/main.lua2
-rw-r--r--xmake/plugins/lua/scripts/lipo.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/doxygen/main.lua b/xmake/plugins/doxygen/main.lua
index 5ac2f1ae4..0b39eaca7 100755
--- a/xmake/plugins/doxygen/main.lua
+++ b/xmake/plugins/doxygen/main.lua
@@ -30,7 +30,7 @@ import("core.project.project")
function main()
-- check the doxygen
- local doxygen = tool.check("doxygen", function (shellname)
+ local doxygen = tool.check("doxygen", nil, function (shellname)
os.run("%s -v", shellname)
end)
assert(doxygen, "doxygen not found!")
diff --git a/xmake/plugins/lua/scripts/lipo.lua b/xmake/plugins/lua/scripts/lipo.lua
index 9092483cf..40395cb98 100644
--- a/xmake/plugins/lua/scripts/lipo.lua
+++ b/xmake/plugins/lua/scripts/lipo.lua
@@ -38,7 +38,7 @@ function main(...)
args = args[1]
-- check the lipo
- local lipo = tool.check("xcrun lipo", function (shellname)
+ local lipo = tool.check("xcrun lipo", nil, function (shellname)
os.run("xcrun -find lipo")
end)
assert(lipo, "lipo not found!")