diff options
| author | ruki <[email protected]> | 2017-02-15 20:45:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-02-15 20:45:27 +0800 |
| commit | b98e6978cd6514169c7f0fea4ab6ba63a093754c (patch) | |
| tree | 087de92610444ebe2eb2153219974c563924a192 /xmake/tools/go.lua | |
| parent | dfce526796ade25d4da69c2542929e9c4662402a (diff) | |
modify targetfile
Diffstat (limited to 'xmake/tools/go.lua')
| -rwxr-xr-x | xmake/tools/go.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/xmake/tools/go.lua b/xmake/tools/go.lua index 154676e89..da777bdd9 100755 --- a/xmake/tools/go.lua +++ b/xmake/tools/go.lua @@ -86,16 +86,6 @@ function archivecmd(objectfiles, targetfile, flags) return format("%s tool pack %s %s %s", _g.shellname, flags, targetfile, objectfiles) end --- archive the library file -function archive(objectfiles, targetfile, flags) - - -- ensure the target directory - os.mkdir(path.directory(targetfile)) - - -- link it - os.run(archivecmd(objectfiles, targetfile, flags)) -end - -- link the target file function link(objectfiles, targetfile, flags) |
