summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/go.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-08-03 22:44:03 +0800
committerruki <[email protected]>2018-08-03 10:24:22 +0800
commit2a7d3704912245a2433d1071679f4253d96069c0 (patch)
treeed1875738fa7bb2e39118b7a046b94c96debfe41 /xmake/modules/core/tools/go.lua
parent5aa5ddbdaa2c026d65fcb17e5e36ac4995032a8b (diff)
modify format
Diffstat (limited to 'xmake/modules/core/tools/go.lua')
-rw-r--r--xmake/modules/core/tools/go.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/go.lua b/xmake/modules/core/tools/go.lua
index f092c3daa..f0f15ab2e 100644
--- a/xmake/modules/core/tools/go.lua
+++ b/xmake/modules/core/tools/go.lua
@@ -34,8 +34,7 @@ function init(self)
_g.arflags = { "grc" }
-- init the file formats
- _g.formats = {}
- _g.formats.static = {"", ".a"}
+ _g.formats = { static = "$(name).a" }
-- init buildmodes
_g.buildmodes =