I'm trying to write some bindings for a C library, and the documentation is
kind of sparse on this. How do I set custom variables for the gcc
environment from the build script? For example, I need to set custom
include and link directories, and those values won't be known until the
build actually begins. Unfortunately, I can't use pkg-config or the like
(this build is occurring within a proprietary in-house build system).
I do see the build flags for the cgo tool, but I'm not trying to export Go
symbols into C, I'm just trying to import C symbols into Go.