Skip to content

Commit

Permalink
cmd/dist: copy textflag.h for runtime/internal/* too
Browse files Browse the repository at this point in the history
Change-Id: I22216df83898e560cfe6d97344f05e3678c2db99
Reviewed-on: https://go-review.googlesource.com/16872
Reviewed-by: Michael Matloob <[email protected]>
  • Loading branch information
minux committed Nov 12, 2015
1 parent d3498c5 commit b28eeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/dist/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b28eeea

Please sign in to comment.