diff options
| author | ruki <[email protected]> | 2017-07-05 09:39:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-05 09:39:50 +0800 |
| commit | c5f2c9e5488c0213e4eafb2775574343154bdc64 (patch) | |
| tree | eb21eb636f4d6a1c18aefdfa0c65fef60cc7d2ae | |
| parent | 2dc9b33e513e906f6b7b31f0df6b20f518924774 (diff) | |
fix compile for golang
| -rw-r--r-- | xmake/actions/build/kinds/object.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/actions/build/kinds/object.lua b/xmake/actions/build/kinds/object.lua index 4acb9f863..57e87236c 100644 --- a/xmake/actions/build/kinds/object.lua +++ b/xmake/actions/build/kinds/object.lua @@ -211,6 +211,9 @@ function _build_single_object(target, buildinfo, sourcekind, sourcebatch, jobs, print(compiler.compcmd(sourcefiles, objectfiles, {target = target, sourcekind = sourcekind})) end + -- mark this target as modified + buildinfo.modified[target:name()] = true + -- complie them compiler.compile(sourcefiles, objectfiles, {incdepfiles = incdepfiles, target = target, sourcekind = sourcekind}) |
