summaryrefslogtreecommitdiff
path: root/xmake/core/base/task.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-02-14 23:18:25 +0800
committerruki <[email protected]>2020-02-14 13:50:33 +0800
commitc00d159a9a510e39ac5e00cb29c26651f4fc56aa (patch)
tree80c0ebc4ace229a7c16e71e7efcf049d41f06157 /xmake/core/base/task.lua
parentffb92f48bcfbe4c34d027a7e01ff27b18b97c431 (diff)
add subsystem host andarch
Diffstat (limited to 'xmake/core/base/task.lua')
-rw-r--r--xmake/core/base/task.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/base/task.lua b/xmake/core/base/task.lua
index 7ffcdfcc4..7a7005de0 100644
--- a/xmake/core/base/task.lua
+++ b/xmake/core/base/task.lua
@@ -197,6 +197,7 @@ function task._interpreter()
local maps =
{
host = os.host()
+ , subhost = os.subhost()
, tmpdir = function () return os.tmpdir() end
, curdir = function () return os.curdir() end
, scriptdir = function () return sandbox_os.scriptdir() end