diff options
Diffstat (limited to 'xmake/core/platform/platform.lua')
| -rw-r--r-- | xmake/core/platform/platform.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/platform/platform.lua b/xmake/core/platform/platform.lua index f5eb9ab94..cd6c7722e 100644 --- a/xmake/core/platform/platform.lua +++ b/xmake/core/platform/platform.lua @@ -109,7 +109,7 @@ function _instance:get(name) if not self._LOADED and not self:_is_builtin_conf(name) then local on_load = self._INFO:get("load") if on_load then - local ok, errors = sandbox.load(on_load, self) + local ok, errors = sandbox.call(on_load, self) if not ok then os.raise(errors) end |
