diff --git a/build.go b/build.go index 8a041df94..4c3351d51 100644 --- a/build.go +++ b/build.go @@ -49,7 +49,7 @@ func specialDir(name string) bool { // excludePath returns true if the file should not be copied to the new GOPATH. func excludePath(name string) bool { ext := path.Ext(name) - if ext == ".go" || ext == ".s" { + if ext == ".go" || ext == ".s" || ext == ".h" { return false }