build.go: better rename of library objects
This commit is contained in:
parent
4970422b30
commit
d56055cf58
@ -468,7 +468,7 @@ func install(b *build) {
|
||||
case len(b.Library) > 0:
|
||||
ofiles := []string{}
|
||||
for _, o := range b.ObjectFiles {
|
||||
run(b, *shellhack, exec.Command("mv", o, b.Library + "-" + o))
|
||||
os.Rename(o, b.Library + "-" + o)
|
||||
ofiles = append(ofiles, b.Library + "-" + o)
|
||||
}
|
||||
libpath := path.Join(b.Install, b.Library)
|
||||
|
Loading…
x
Reference in New Issue
Block a user