diff options
| -rw-r--r-- | xmake/core/package/package.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index b77b24aeb..239bbb928 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1378,7 +1378,7 @@ end -- fetch the local package info -- --- @param opt the fetch option, e.g. {force = true, external = false} +-- @param opt the fetch option, e.g. {force = true, external = false, system = true} -- -- @return {packageinfo}, fetchfrom (e.g. xmake/system) -- @@ -1389,7 +1389,7 @@ function _instance:fetch(opt) -- attempt to get it from cache local fetchinfo = self._FETCHINFO - if not opt.force and opt.external == nil and fetchinfo then + if not opt.force and opt.external == nil and opt.system == nil and fetchinfo then return fetchinfo end |
