Skip to content

Commit b28eeea

Browse files
committed
cmd/dist: copy textflag.h for runtime/internal/* too
Change-Id: I22216df83898e560cfe6d97344f05e3678c2db99 Reviewed-on: https://go-review.googlesource.com/16872 Reviewed-by: Michael Matloob <[email protected]>
1 parent d3498c5 commit b28eeea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmd/dist/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -620,7 +620,7 @@ func install(dir string) {
620620
}
621621

622622
// For package runtime, copy some files into the work space.
623-
if dir == "runtime" {
623+
if dir == "runtime" || strings.HasPrefix(dir, "runtime/internal/") {
624624
xmkdirall(pathf("%s/pkg/include", goroot))
625625
// For use by assembly and C files.
626626
copyfile(pathf("%s/pkg/include/textflag.h", goroot),

0 commit comments

Comments
 (0)