diff options
Diffstat (limited to 'core/xpack.lua')
| -rw-r--r-- | core/xpack.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index 86c87fc83..a84c839d5 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -19,6 +19,10 @@ xpack("xmake") end end package:set("basename", "xmake-v$(version)." .. arch) + local format = package:format() + if format == "zip" then + package:set("prefixdir", "xmake") + end end) before_package(function (package) |
