Skip to content

cmd/go: 'go build' of a SWIG only package fails with 'C source files not supported without cgo' #9410

@michael-schaller

Description

@michael-schaller

What version of Go are you using (go version)?
go version devel +f34964e Sun Dec 21 00:24:39 2014 +0000 linux/amd64

What operating system and processor architecture are you using?
linux/amd64 (Ubuntu 14.04 amd64)

What did you do?
Run 'go build' on this example: https://gist.github.com/michael-schaller/94a2ee39bde248c83742

What did you expect to see?
That 'go build' or 'go test' work as previously under Go 1.4 and earlier.

What did you see instead?
The error message 'C source files not supported without cgo'.

What else?
SWIG version: 3.0.3 (commit 93d58cd3ed1cc2cf0490e95d43eed4e8de62763d; master on 2014-12-21)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions