summaryrefslogtreecommitdiff
path: root/xmake/core
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-25 00:51:41 +0800
committerruki <[email protected]>2025-01-25 00:51:41 +0800
commit4758d5fb50863ebefc7c7cdb3d3bf3670843cd82 (patch)
treeb458aa3999b78212ba5bc06bb6de15053389bcd3 /xmake/core
parent512fe920b09fed3611a41227ba09ad92c40bc6b3 (diff)
get toolchain dirs
Diffstat (limited to 'xmake/core')
-rw-r--r--xmake/core/sandbox/modules/import/core/tool/toolchain.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/sandbox/modules/import/core/tool/toolchain.lua b/xmake/core/sandbox/modules/import/core/tool/toolchain.lua
index 46bd9fb1d..48867300e 100644
--- a/xmake/core/sandbox/modules/import/core/tool/toolchain.lua
+++ b/xmake/core/sandbox/modules/import/core/tool/toolchain.lua
@@ -28,7 +28,8 @@ local project = require("project/project")
local raise = require("sandbox/modules/raise")
-- inherit some builtin interfaces
-sandbox_core_tool_toolchain.apis = toolchain.apis
+sandbox_core_tool_toolchain.apis = toolchain.apis
+sandbox_core_tool_toolchain.directories = toolchain.directories
-- get all toolchains list
function sandbox_core_tool_toolchain.list()