On Tue, Feb 28, 2017 at 11:04 AM, Chun Zhang <czha...@gmail.com> wrote: > > An empty libcolor.go file with the following lines was manually created > > --------------------------- > package libcolor > > // #cgo CFLAGS: -I . > // #cgo CXXFLAGS: -std=c++11 <--- this does not seem to work > // #cgo LDFLAGS: -L${SRCDIR}/lib/ -lCOLOR.a -lz <--- this is placed at the > correct place
Note that this is only effective if those comments appear directly before an `import "C"` line. 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.