summaryrefslogtreecommitdiff
path: root/xmake/platforms/linux/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-13 00:39:22 +0800
committerruki <[email protected]>2018-12-12 22:35:17 +0800
commita16fcd5180de7d18426106e5d398ebc04a96841d (patch)
treeebffa6df08a28820f54a047b9b457c13c8bb8a32 /xmake/platforms/linux/check.lua
parentfd4ca8751a6d64de8088a05e6f0a8ac4e6e48d2d (diff)
improve to xmake global
Diffstat (limited to 'xmake/platforms/linux/check.lua')
-rw-r--r--xmake/platforms/linux/check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/platforms/linux/check.lua b/xmake/platforms/linux/check.lua
index 5c52b877f..87a225eec 100644
--- a/xmake/platforms/linux/check.lua
+++ b/xmake/platforms/linux/check.lua
@@ -24,7 +24,7 @@
-- imports
import("detect.sdks.find_cross_toolchain")
-import(".checker")
+import("platforms.checker", {rootdir = os.programdir()})
-- check the architecture
function __check_arch(config)