On Fri, Feb 9, 2018 at 10:05 AM, Jason E. Aten <j.e.a...@gmail.com> wrote:
> Yay. I found a workaround--or rather, finally understood one of the
> suggestions.
> Adding the following CGO_LDFLAGS_ALLOW hack in the Makefiles allows linking
> against the named .a file.
> export
> CGO_LDFLAGS_ALLOW="${GOPATH}/src/github.com/gijit/gi/vendor/github.com/glycerine/golua/lua/../../../LuaJIT/LuaJIT/src/libluajit.a";

Note that the _ALLOW environment variables hold a regular expression,
so you could also write CGO_LDFLAGS_ALLOW='.*\.a'.


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.

Reply via email to