diff --git a/xmake-extra.lua b/xmake-extra.lua index d8b028fd..576559f6 100644 --- a/xmake-extra.lua +++ b/xmake-extra.lua @@ -209,5 +209,5 @@ rule("commonlibsf.plugin") if srcfiles and #srcfiles > 0 and dstfiles and #dstfiles > 0 then task.run("install") end - end, { files = project.allfiles(), changed = target:is_rebuilt()}) + end, { changed = target:is_rebuilt(), files = { target:targetfile() } }) end)