diff options
Diffstat (limited to 'xmake/scripts/platform/platform.lua')
| -rw-r--r-- | xmake/scripts/platform/platform.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/platform/platform.lua b/xmake/scripts/platform/platform.lua index a84f80187..bad7c8969 100644 --- a/xmake/scripts/platform/platform.lua +++ b/xmake/scripts/platform/platform.lua @@ -164,8 +164,12 @@ end -- get the platform os function platform.os() + -- get module + local module = platform.module() + if not module then return end + -- ok? - return platform.module()._OS + return module._OS end -- get the given configure |
