Hi!
I'm trying to bring my old CGO package (Tidy for Go:
github.com/
JalfResi/GoTidy) upto date with GO1 and I've reached a small problem.
I need to inform CGO where tidy.h is located, and on OSX I do this
using the following:
#cgo CFLAGS: -I/usr/include
But under Ubuntu the tidy.h file is installed in a subdirectory /usr/
include/tidy. After a bit of googling I thought the following might
fix the problem:
#cgo CFLAGS: -I/usr/include
#cgo CFLAGS: -I-/usr/include/tidy
but with no success. How can I specify multiple locations for CGO to
look for include files?
In a related note, I may have to do the same for the LDFLAGS. Any
suggestions?
Cheers!
Ben