diff options
| author | ruki <[email protected]> | 2024-02-15 23:33:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-02-15 23:33:02 +0800 |
| commit | 197ec373651d6672f7a11e9a07a01fb7dacdb8fa (patch) | |
| tree | 4422f4c5e4de04f4b330a3f71fdab43fee7c1c3f /xmake/plugins/pack/xpack_component.lua | |
| parent | e860f98a8bbc60d296b03a95c374609be86713d8 (diff) | |
fix xpack component
Diffstat (limited to 'xmake/plugins/pack/xpack_component.lua')
| -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 |
