Answer the question
In order to leave comments, you need to log in
How does cgo LDFLAGS work?
You need to implement this How to use din. libraries not from global space?
It's written in the docs
// #cgo LDFLAGS: -L${SRCDIR}/libs -lfoo
// #cgo LDFLAGS: -L/go/src/foo/libs -lfoo
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question