diff options
| author | ruki <[email protected]> | 2021-04-04 12:53:54 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-04-04 12:53:54 +0800 |
| commit | 7deb549fee853b96d396b63e8f1192fb1973d000 (patch) | |
| tree | 8ca876c16652afc7b0acf421ddc8c4aa6fb37520 /xmake/modules/private/action/require/impl/package.lua | |
| parent | 93a0365566033a0dbe51a9d95ae5de75e7a63100 (diff) | |
improve package
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -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 |
