diff options
| author | ruki <[email protected]> | 2023-03-05 21:58:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-05 21:59:27 +0800 |
| commit | cd25c0d22f73ef7ca2cdf8ac61df828523d5078d (patch) | |
| tree | 6659b5809981b4de5db494d223cfcc62a511d4ec /xmake/core/tool/tool.lua | |
| parent | 447834d2be36ecc810c76e39ed868d1a0c62039d (diff) | |
fix load tool
Diffstat (limited to 'xmake/core/tool/tool.lua')
| -rw-r--r-- | xmake/core/tool/tool.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 33c8296a1..c3c256396 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -168,8 +168,8 @@ function _instance:has_flags(flags, flagkind, opt) return self._has_flags(self:name(), flags, opt) end --- load tool -function _instance:_load() +-- load tool only once +function _instance:_load_once() if not self._LOADED then if self.load then local ok, errors = sandbox.load(self.load, self) |
