I have a Go package that links to C library using CFLAGS for cgo. C library, in turn, requires local data file to work properly. It's prebuilt 3d-party library and option to set data file path is not available.
Everything works as expected if client of package is local and data is loaded by lib, but when I build & install package, data file is not copied.
Is there any option to put custom file near go package while installing package?