diff options
| -rw-r--r-- | xmake/rules/qt/deploy/macosx.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/rules/qt/deploy/macosx.lua b/xmake/rules/qt/deploy/macosx.lua index deeafb11f..ac26bbd7d 100644 --- a/xmake/rules/qt/deploy/macosx.lua +++ b/xmake/rules/qt/deploy/macosx.lua @@ -166,7 +166,10 @@ function main(target, opt) end -- do deploy - local argv = {target_app, "-always-overwrite"} + local argv = {target_app} + if target:is_rebuilt() then + table.insert(argv, "-always-overwrite") + end if option.get("diagnosis") then table.insert(argv, "-verbose=3") elseif option.get("verbose") then |
