summaryrefslogtreecommitdiff
path: root/xmake/rules/platform/android/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-12-17 00:37:07 +0800
committerruki <[email protected]>2025-12-17 00:37:07 +0800
commit286503172c6e516034e05eca878d2d0f5d02e983 (patch)
treed07b9326636fb648bd38e1c3d77d147f161e0695 /xmake/rules/platform/android/package.lua
parent9793c539ceb921fba55ec1ecea5784a1c63c3358 (diff)
improve dir
Diffstat (limited to 'xmake/rules/platform/android/package.lua')
-rw-r--r--xmake/rules/platform/android/package.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/rules/platform/android/package.lua b/xmake/rules/platform/android/package.lua
index 22715a073..d38fcecea 100644
--- a/xmake/rules/platform/android/package.lua
+++ b/xmake/rules/platform/android/package.lua
@@ -106,7 +106,8 @@ function main(target, opt)
depend.on_changed(function ()
progress.show(opt.progress, "${color.build.target}packing.apk %s", final_apk)
- local tmp_path = path.join(target:targetdir(), "temp")
+ local tmp_path = path.join(target:autogendir(), "packing")
+ os.tryrm(tmp_path)
os.mkdir(tmp_path)
os.mkdir(path.join(tmp_path, "lib"))
os.mkdir(path.join(tmp_path, "lib", target:arch()))