diff options
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 bad7c8969..c2057e246 100644 --- a/xmake/scripts/platform/platform.lua +++ b/xmake/scripts/platform/platform.lua @@ -157,8 +157,12 @@ end -- make the current platform configure function platform.make() + -- get the platform + local plat = config.get("plat") + assert(plat) + -- make and get the current platform configure - return platform._configs(config.get("plat")) + return platform._configs(plat) end -- get the platform os |
