On Mon, Oct 17, 2016 at 4:11 AM, <andrew.sm...@miracl.com> wrote: > > I have a follow-up question, how can I instrument my go code so that I can > set the include path that is used to resolve '%include' statements in my > swig code. Currently I have relative paths in my swig file, and I would like > to put '/usr/include' on the search path for the swig compilation. Is this > possible?
There is no general support for passing arguments to SWIG, but any -I options found in the CGO_CFLAGS environment variable (see https://golang.org/cmd/cgo) will be passed to SWIG. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.