From 1758e5f01e5684bf8da0187bb5b6ee7ac93fd4e6 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 19 Dec 2018 22:48:13 +0800 Subject: improve mingw --- xmake/platforms/linux/check.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/platforms/linux/check.lua') diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua index 87a225eec..b226ab206 100644 --- a/xmake/platforms/linux/check.lua +++ b/xmake/platforms/linux/check.lua @@ -51,10 +51,10 @@ function _toolchains(config) -- find cross toolchain local cross = "" - local toolchain = find_cross_toolchain(config.get("sdk") or config.get("bin"), {bin = config.get("bin"), cross = config.get("cross")}) + local toolchain = find_cross_toolchain(config.get("sdk") or config.get("bin"), {bindir = config.get("bin"), cross = config.get("cross")}) if toolchain then config.set("cross", toolchain.cross, {readonly = true, force = true}) - config.set("bin", toolchain.bin, {readonly = true, force = true}) + config.set("bin", toolchain.bindir, {readonly = true, force = true}) cross = toolchain.cross end -- cgit v1.3.1