diff options
-rw-r--r-- | src/cmd/goinstall/main.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd/goinstall/main.go b/src/cmd/goinstall/main.go index 07ab622af..4e9adf5e4 100644 --- a/src/cmd/goinstall/main.go +++ b/src/cmd/goinstall/main.go @@ -185,6 +185,11 @@ func install(pkg, parent string) { return } for p := range m { + if p == "C" { + fmt.Fprintf(os.Stderr, "%s: %s: cgo packages are not supported yet. Try installing manually.\n", argv0, pkg) + errors = true + return + } install(p, pkg) } if pkgname == "main" { |