I am trying to create a Python package that depends on a library that is compile from Go source.
I am following the instructions specified at: Python setuptools/distutils custom build for the `extra` package with Makefile The idea is to compile Go code to create the library, then provide that library to setup tools to build a Python extension.
The library is compiled from a make rule, just like in the link above. I am getting this error when compiling:
vendor/golang.org/x/sys/unix/syscall_linux_gc.go:10:6: missing function body