summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/plugins/pack/xpack.lua2
-rw-r--r--xmake/plugins/pack/xpack_component.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/pack/xpack.lua b/xmake/plugins/pack/xpack.lua
index 1868252d7..484aa3e2a 100644
--- a/xmake/plugins/pack/xpack.lua
+++ b/xmake/plugins/pack/xpack.lua
@@ -390,7 +390,7 @@ function xpack:_copiedfiles(filetype, outputdir)
if not copiedfiles then return end
-- get the extra information
- local extrainfo = table.wrap(self:get("__extra_" .. filetype))
+ local extrainfo = table.wrap(self:extraconf(filetype))
-- get the source paths and destinate paths
local srcfiles = {}
diff --git a/xmake/plugins/pack/xpack_component.lua b/xmake/plugins/pack/xpack_component.lua
index fcc154687..5dc6ec10f 100644
--- a/xmake/plugins/pack/xpack_component.lua
+++ b/xmake/plugins/pack/xpack_component.lua
@@ -115,7 +115,7 @@ function xpack_component:_copiedfiles(filetype, outputdir)
if not copiedfiles then return end
-- get the extra information
- local extrainfo = table.wrap(self:get("__extra_" .. filetype))
+ local extrainfo = table.wrap(self:extraconf(filetype))
-- get the source paths and destinate paths
local srcfiles = {}