1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:50:07 -07:00

cmd/dist: copy textflag.h for runtime/internal/* too

Change-Id: I22216df83898e560cfe6d97344f05e3678c2db99
Reviewed-on: https://go-review.googlesource.com/16872
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
Shenghou Ma 2015-11-12 14:52:01 -05:00 committed by Minux Ma
parent d3498c5abd
commit b28eeea136

View File

@ -620,7 +620,7 @@ func install(dir string) {
}
// For package runtime, copy some files into the work space.
if dir == "runtime" {
if dir == "runtime" || strings.HasPrefix(dir, "runtime/internal/") {
xmkdirall(pathf("%s/pkg/include", goroot))
// For use by assembly and C files.
copyfile(pathf("%s/pkg/include/textflag.h", goroot),