summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/package/tools/xmake.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/package/tools/xmake.lua b/xmake/modules/package/tools/xmake.lua
index f5bc81343..ea0ce9d65 100644
--- a/xmake/modules/package/tools/xmake.lua
+++ b/xmake/modules/package/tools/xmake.lua
@@ -23,7 +23,7 @@ import("core.base.option")
import("core.base.global")
import("core.tool.toolchain")
import("core.project.project")
-import("core.package.package")
+import("core.package.package", {alias = "package_core"})
import("core.package.repository")
import("private.action.require.impl.package", {alias = "require_package"})
import("private.utils.toolchain", {alias = "toolchain_utils"})
@@ -531,7 +531,7 @@ function install(package, configs, opt)
-- @see https://github.com/xmake-io/xmake/discussions/7441
if package:is_local() and not package:is_source_embed() then
envs = table.clone(envs)
- envs.XMAKE_PKG_INSTALLDIR = package.installdir({localdir = true})
+ envs.XMAKE_PKG_INSTALLDIR = package_core.installdir({localdir = true})
end
-- pass local repositories