diff options
| author | ruki <[email protected]> | 2023-03-05 20:12:49 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-05 20:13:41 +0800 |
| commit | 70f1a5ff1850f8138759500295702eb2541c227b (patch) | |
| tree | 2addc24579fc82db1d8f6e668da813668db7c506 /xmake/modules/private/action/require/impl/package.lua | |
| parent | 15de8acc90a9fafc3a1e6dad0af1a81a68052769 (diff) | |
improve package.load_from_repository
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 4fce86820..621c95c33 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -214,7 +214,7 @@ function _load_package_from_repository(packagename, opt) opt = opt or {} local packagedir, repo = repository.packagedir(packagename, opt) if packagedir then - return core_package.load_from_repository(packagename, repo, packagedir, {plat = opt.plat, arch = opt.arch}) + return core_package.load_from_repository(packagename, packagedir, {plat = opt.plat, arch = opt.arch, repo = repo}) end end |
