diff options
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 6d633875c..a2357f984 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -510,7 +510,7 @@ function _load_package(packagename, requireinfo, opt) if system == nil then system = opt.system end - if not package and system ~= false then + if not package and (system ~= false or packagename:find("::", 1, true)) then package = _load_package_from_system(packagename) end |
