I have the same situaction, Unlikely, go does not have a better way to handle this.
Miki Tebeka <miki.teb...@gmail.com> 于2019年7月15日周一 下午12:14写道: > Hi, > > I have a packge with cgo that require some external headers & libraries to > build (Apache arrow). > What's the best practice for making this packge easy to "go get"? > > To make things more interesting, Arrow is a C++ library. Currently I build > a static library and link with it, however it's very platform dependent. > > Thanks, > Miki > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/golang-nuts/b89bfd2d-3333-4097-bf31-f4692e88da95%40googlegroups.com > <https://groups.google.com/d/msgid/golang-nuts/b89bfd2d-3333-4097-bf31-f4692e88da95%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAHfoA_ma37u8m_DKiNYeqCdoVTW3Pz9GzAv%3DHyCOEoSE8V6UWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.