diff options
| author | ruki <[email protected]> | 2017-09-21 23:27:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-09-21 14:42:01 +0800 |
| commit | 034185734b5bc91f8188c15c9e02b0ce8ebaa850 (patch) | |
| tree | 17788345197514d464006129d76a0d36f2addf35 /xmake/core/project/project.lua | |
| parent | 253e814d11d2af31088a22401a28b4a6abef70e3 (diff) | |
improve option and add require option
Diffstat (limited to 'xmake/core/project/project.lua')
| -rw-r--r-- | xmake/core/project/project.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/project/project.lua b/xmake/core/project/project.lua index 2d6543fe0..2323151d7 100644 --- a/xmake/core/project/project.lua +++ b/xmake/core/project/project.lua @@ -124,7 +124,7 @@ end function project._api_is_host(interp, ...) -- get the current host - local host = xmake._HOST + local host = os.host() if not host then return false end -- exists this host? and escape '-' |
