diff options
| author | ruki <[email protected]> | 2016-07-03 14:11:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-03 14:11:09 +0800 |
| commit | bde33e64c9c036589c6f13d94bf577509fceb28d (patch) | |
| tree | 69b0a2f3bf30e376cb73e19d315a22fb1335791b /xmake/actions/build/builder.lua | |
| parent | 383c46c282fe0fcd82e2bc8a2d227cd0528af262 (diff) | |
fix check ar failed for windows
Diffstat (limited to 'xmake/actions/build/builder.lua')
| -rwxr-xr-x | xmake/actions/build/builder.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/actions/build/builder.lua b/xmake/actions/build/builder.lua index ee4c7eb5f..9ecbd4b25 100755 --- a/xmake/actions/build/builder.lua +++ b/xmake/actions/build/builder.lua @@ -92,7 +92,7 @@ function _build_object(target, index) end -- make command - local command = compiler.command(target, sourcefile, objectfile) + local command = compiler.compcmd(sourcefile, objectfile, target) -- uses ccache local ccache = nil @@ -194,7 +194,7 @@ function _build_target(target) -- make the command for linking target local targetfile = target:targetfile() - local command = linker.command(target) + local command = linker.linkcmd(target:objectfiles(), targetfile, target) -- trace print("[%02d%%]: linking.$(mode) %s", _g.targetindex * 100 / _g.targetcount, path.filename(targetfile)) |
