summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Leclercq <[email protected]>2020-12-17 11:08:14 +0100
committerJérôme Leclercq <[email protected]>2020-12-17 11:08:14 +0100
commitdea1fb125f09841b11037bd6017f805a20da919f (patch)
tree812997409711fff8ab74bf7166024d8fd3d68572
parent21fcd32db014eabbb5a999deab4403930a095a83 (diff)
Fix depend file
-rw-r--r--xmake/rules/qt/install/windows.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/qt/install/windows.lua b/xmake/rules/qt/install/windows.lua
index 911a8fcd7..0a542a537 100644
--- a/xmake/rules/qt/install/windows.lua
+++ b/xmake/rules/qt/install/windows.lua
@@ -34,7 +34,7 @@ function main(target, opt)
local installfile = path.join(target:installdir(), "bin", path.filename(targetfile))
-- need re-generate this app?
- local dependfile = target:dependfile(targetfile)
+ local dependfile = target:dependfile(installfile)
depend.on_changed(function ()
-- do deploy
@@ -83,5 +83,5 @@ function main(target, opt)
table.insert(argv, installfile)
os.vrunv(windeployqt, argv, {envs = envs})
- end, {dependfile = dependfile, files = targetfile})
+ end, {dependfile = dependfile, files = installfile})
end