From e6ca604d24e58e79a5034ac9427496771df69ad0 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Wed, 19 Apr 2017 17:31:07 +0200 Subject: [PATCH] build.go: Also copy header files --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }