build.go: Also copy header files

e6ca604d24
This commit is contained in:
Zlatko Čalušić
2017-06-02 08:53:31 +02:00
parent 4bc2581b47
commit fd9e42ed71

View File

@@ -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
}