diff options
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 6b7f22a4e..d5d683741 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1867,6 +1867,8 @@ function package.load_from_system(packagename) opt.arch = pkg:arch() opt.require_version = pkg:version_str() opt.buildhash = pkg:buildhash() + opt.cachedir = pkg:cachedir() + opt.installdir = pkg:installdir() import("package.manager.install_package")(pkg:name(), opt) end |
