diff options
| author | ruki <[email protected]> | 2015-06-17 21:07:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-17 21:07:11 +0800 |
| commit | 178e8a75babbe555cd5a0e21749b454a659c39ea (patch) | |
| tree | 4a3f8d73c14be55934acad9b5d48557e095e178c /xmake/scripts/platform | |
| parent | b66c637057b49a68394419767157ddf1113ec5c1 (diff) | |
using relative pathes for xmake.lua
Diffstat (limited to 'xmake/scripts/platform')
| -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 |
