diff options
Diffstat (limited to 'xmake/rules/xcode/framework/xmake.lua')
| -rw-r--r-- | xmake/rules/xcode/framework/xmake.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/xcode/framework/xmake.lua b/xmake/rules/xcode/framework/xmake.lua index 73370e4e2..81bd4ebc4 100644 --- a/xmake/rules/xcode/framework/xmake.lua +++ b/xmake/rules/xcode/framework/xmake.lua @@ -94,7 +94,7 @@ rule("xcode.framework") local headersdir = path.join(contentsdir, "Headers") -- do build if changed - depend.on_changed(function () + depend._on_changed(function () -- trace progress info progress.show(opt.progress, "${color.build.target}generating.xcode.$(mode) %s", path.filename(bundledir)) @@ -162,7 +162,7 @@ rule("xcode.framework") end codesign(contentsdir, codesign_identity) end - end, {dependfile = target:dependfile(bundledir), files = {bundledir, target:targetfile()}}) + end, {dependfile = target:dependfile(bundledir), files = {bundledir, target:targetfile()}, changed = target:is_rebuilt()}) end) on_install(function (target) |
