diff options
| -rw-r--r-- | xmake/plugins/pack/xpack_component.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/xpack_component.lua b/xmake/plugins/pack/xpack_component.lua index 14e19efd5..fcc154687 100644 --- a/xmake/plugins/pack/xpack_component.lua +++ b/xmake/plugins/pack/xpack_component.lua @@ -74,7 +74,7 @@ end -- get xxx_script function xpack_component:script(name, generic) local script = self:get(name) - local result = select_script(script, {plat = self:plat(), arch = self:arch()}) or generic + local result = select_script(script, {plat = self:package():plat(), arch = self:package():arch()}) or generic return result end |
