numpy.get_include()
CGO_CFLAGS=-I $(shell python -c 'import numpy; print(numpy.get_include())') go build
#cgo CFLAGS:export CGO_CFLAGS="-I $(python -c 'import numpy; print(numpy.get_include())')"
Is there a way to pass include path dynamically to cgo?
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/bded583f-4c18-4f65-ad6e-b5ccf40ed7c2o%40googlegroups.com.