diff options
| author | ruki <[email protected]> | 2017-02-17 20:02:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-17 20:02:00 +0800 |
| commit | 6fcb7f953c4c397b7e08bf577f37195508663260 (patch) | |
| tree | 72d63622b2c4a84079d88c3d2f40aab86f032156 /xmake/tools/gcc.lua | |
| parent | bd54ed5a6c59f75ad768d4d37843262314dd1aa1 (diff) | |
build go project ok
Diffstat (limited to 'xmake/tools/gcc.lua')
| -rwxr-xr-x | xmake/tools/gcc.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/tools/gcc.lua b/xmake/tools/gcc.lua index 2283a08e2..281064a2b 100755 --- a/xmake/tools/gcc.lua +++ b/xmake/tools/gcc.lua @@ -245,20 +245,20 @@ function nf_framework(framework) end -- make the link command -function linkcmd(objectfiles, targetfile, flags) +function linkcmd(objectfiles, targetkind, targetfile, flags) -- make it return format("%s -o %s %s %s", _g.shellname, targetfile, objectfiles, flags) end -- link the target file -function link(objectfiles, targetfile, flags) +function link(objectfiles, targetkind, targetfile, flags) -- ensure the target directory os.mkdir(path.directory(targetfile)) -- link it - os.run(linkcmd(objectfiles, targetfile, flags)) + os.run(linkcmd(objectfiles, targetkind, targetfile, flags)) end -- make the complie command |
